EnvironmentVariableWithSecretValue Class

An environment variable with secret value definition.

All required parameters must be populated in order to send to Azure.

Inheritance
EnvironmentVariableWithSecretValue

Constructor

EnvironmentVariableWithSecretValue(*, name: str, value: Optional[str] = None, value_secret_reference: Optional[azure.mgmt.batchai.models._models_py3.KeyVaultSecretReference] = None, **kwargs)

Parameters

name
str
Required

Required. The name of the environment variable to store the secret value.

value
str
Required

The value of the environment variable. This value will never be reported back by Batch AI.

value_secret_reference
<xref:batch_ai.models.KeyVaultSecretReference>
Required

KeyVault store and secret which contains the value for the environment variable. One of value or valueSecretReference must be provided.