Share via


EphemeralContainerV1.SecurityContext Property

Definition

Gets or sets the security context for the container, which defines the security settings and privileges applicable to the container instance. These settings include information such as user and group IDs, file system access levels, and privilege escalation permissions. The security context provides control over container's runtime environment by applying specific security policies.

[YamlDotNet.Serialization.YamlMember(Alias="securityContext")]
public Aspire.Hosting.Kubernetes.Resources.SecurityContextV1? SecurityContext { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="securityContext")>]
member this.SecurityContext : Aspire.Hosting.Kubernetes.Resources.SecurityContextV1 with get, set
Public Property SecurityContext As SecurityContextV1

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to