SecurityContextV1.RunAsUser Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the user ID to run the container process as. Setting this property provides a security mechanism to ensure that the container process runs with the specified user privileges rather than the default root user. A null value or unset property indicates that the default user ID defined in the container image or configuration will be used.
[YamlDotNet.Serialization.YamlMember(Alias="runAsUser")]
public long? RunAsUser { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="runAsUser")>]
member this.RunAsUser : Nullable<int64> with get, set
Public Property RunAsUser As Nullable(Of Long)
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute