Skip to content
DocsTry Aspire
DocsTry

SecretKeySelectorV1 Properties

ClassProperties3 members
SecretKeySelectorV1 represents a reference to a specific key within a Secret in Kubernetes. It is used to identify and optionally retrieve the key's value from a named Secret resource.
Specifies the key within the secret to select. This property is used to reference a specific key contained in a Kubernetes secret.
public string Key { get; set; }
Gets or sets the name of the Kubernetes Secret to select the key from.
public string Name { get; set; }
OptionalSection titled Optionalnullablebool?
public bool? Optional { get; set; }