Watch Aspire live streamsDocsTry Aspire

KeyToPathV1

Classsealednet10.0
📦 Aspire.Hosting.Kubernetes v13.6.0-preview.1.26478.8
Represents a mapping of a key from a data source (e.g., ConfigMap or Secret) to a specific file path.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class KeyToPathV1
{
// ...
}
The KeyToPathV1 class allows users to define how key-value pairs from a data source should be projected into a volume. Each key is mapped to a file at the specified path, and optional file access modes can be set.
View all constructors
View all properties