Compartilhar via


CustomRegistryCredentials Class

Describes the credentials that will be used to access a custom registry during a run.

Inheritance
azure.mgmt.containerregistry._serialization.Model
CustomRegistryCredentials

Constructor

CustomRegistryCredentials(*, user_name: _models.SecretObject | None = None, password: _models.SecretObject | None = None, identity: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
user_name

The username for logging into the custom registry.

password

The password for logging into the custom registry. The password is a secret object that allows multiple ways of providing the value for it.

identity
str

Indicates the managed identity assigned to the custom credential. If a user-assigned identity this value is the Client ID. If a system-assigned identity, the value will be system. In the case of a system-assigned identity, the Client ID will be determined by the runner. This identity may be used to authenticate to key vault to retrieve credentials or it may be the only source of authentication used for accessing the registry.

Variables

Name Description
user_name

The username for logging into the custom registry.

password

The password for logging into the custom registry. The password is a secret object that allows multiple ways of providing the value for it.

identity
str

Indicates the managed identity assigned to the custom credential. If a user-assigned identity this value is the Client ID. If a system-assigned identity, the value will be system. In the case of a system-assigned identity, the Client ID will be determined by the runner. This identity may be used to authenticate to key vault to retrieve credentials or it may be the only source of authentication used for accessing the registry.