Skip to content
Docs Try Aspire

SecretReference Properties

Class Properties 5 members
Represents a reference to a secret within a Docker service configuration.
Gid Section titled Gid nullable int?
Represents the group ID (GID) associated with the secret reference in a Docker service node.
public int? Gid { get; set; }
This property defines the group ID of the user for accessing the secret. It is optional and may be null if not specified.
Mode Section titled Mode nullable int?
Gets or sets the file mode for the secret reference. The mode defines the file permissions that will be applied to the secret when mounted. This is represented as an integer value.
public int? Mode { get; set; }
Source Section titled Source nullable string?
Gets or sets the name of the source secret reference. This property is used to specify the source from which a secret or configuration is derived.
public string? Source { get; set; }
Target Section titled Target nullable string?
Gets or sets the target path where the secret will be mounted within the container. This path is used to specify the destination location of the secret in the container's file system.
public string? Target { get; set; }
Uid Section titled Uid nullable int?
Gets or sets the user ID (UID) associated with the secret reference. This property allows specifying the UID that will be assigned to the secret when it is mounted within a container.
public int? Uid { get; set; }