PrivateRegistryCredentials Class

Credentials to access a container image in a private repository.

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

Inheritance
PrivateRegistryCredentials

Constructor

PrivateRegistryCredentials(*, username: str, password: Optional[str] = None, password_secret_reference: Optional[azure.mgmt.batchai.models._models_py3.KeyVaultSecretReference] = None, **kwargs)

Parameters

username
str
Required

Required. User name to login to the repository.

password
str
Required

User password to login to the docker repository. One of password or passwordSecretReference must be specified.

password_secret_reference
<xref:batch_ai.models.KeyVaultSecretReference>
Required

KeyVault Secret storing the password. Users can store their secrets in Azure KeyVault and pass it to the Batch AI service to integrate with KeyVault. One of password or passwordSecretReference must be specified.