Secret Properties
Class Properties 4 members
Represents a Secret object in a Docker Compose configuration file.
Indicates whether the secret is managed externally. If set to true, the secret must already exist, as it will not be created or modified.
public bool? External { get; set; } Represents the file path associated with the secret. This specifies the location of the file on the host system that will be used as the source for the secret in the container.
public string? File { get; set; } Gets or sets a collection of key-value pairs representing metadata or additional information associated with the secret. These labels can be used for categorization, identification, or other purposes as determined by the user.
public Dictionary<string, string> Labels { get; set; } Gets or sets the name of the secret in the Docker Compose configuration.
public string? Name { get; set; }