Share via


EnvFromSourceV1.SecretRef Property

Definition

SecretRef represents a reference to a Secret resource. It is used to populate environment variables by mapping key-value pairs from the Secret's Data field to environment variables.

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

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to