Share via


SecretVolumeSourceV1.Items Property

Definition

Gets a list of key-to-path mappings that specify how individual keys within the secret should be projected into files within the volume.

[YamlDotNet.Serialization.YamlMember(Alias="items")]
public System.Collections.Generic.List<Aspire.Hosting.Kubernetes.Resources.KeyToPathV1> Items { get; }
[<YamlDotNet.Serialization.YamlMember(Alias="items")>]
member this.Items : System.Collections.Generic.List<Aspire.Hosting.Kubernetes.Resources.KeyToPathV1>
Public ReadOnly Property Items As List(Of KeyToPathV1)

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

Each entry in the list corresponds to a specific key in the referenced secret and maps it to a file within the volume. This property allows fine-grained control over which keys are included in the volume and their corresponding file paths.

Applies to