Watch Aspire live streamsDocsTry Aspire

ContainerEnvVarConstruct Properties

ClassProperties3 members
Represents a single environment-variable entry in a container's env block.
SecretKeySection titled SecretKeyBicepValue<string>
The key within the secret resource's data map. Emitted only when assigned, and mutually exclusive with ContainerEnvVarConstruct.Value.
public BicepValue<string> SecretKey { get; set; }
SecretNameSection titled SecretNameBicepValue<string>
The name of the Radius.Security/secrets resource supplying this value. Emitted only when assigned, and mutually exclusive with ContainerEnvVarConstruct.Value.
public BicepValue<string> SecretName { get; set; }
ValueSection titled ValueBicepValue<string>
The environment variable value (a literal, or a reference to a Bicep parameter).
public BicepValue<string> Value { get; set; }