Watch Aspire live streamsDocsTry Aspire

SecretEnvSourceV1

Classsealednet10.0
📦 Aspire.Hosting.Kubernetes v13.6.0-preview.1.26478.8
SecretEnvSourceV1 represents a reference to a Secret used for populating environment variables in a container.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class SecretEnvSourceV1
{
// ...
}
This class provides a way to source environment variable data from a Secret within Kubernetes. A Secret contains sensitive information such as tokens, passwords, or keys that can be used as part of a container's environment.
View all constructors
View all properties