SecretVolumeSourceV1
Classsealednet10.0
Represents a volume source based on a Kubernetes Secret.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class SecretVolumeSourceV1{ // ...}5 members
Remarks
Section titled Remarks This class allows configuring a Secret as the data source for a Kubernetes volume. The SecretVolumeSourceV1 can be used to specify the secret name, default access permissions, and specific key-to-path mappings for projecting the contents of the secret into the volume. It also allows specifying whether the configuration is optional.
Constructors1
Section titled ConstructorsProperties4
Section titled PropertiesItemsget Gets a list of key-to-path mappings that specify how individual keys within the secret should be projected into files within the volume.