Compartilhar via


AuthCredential Class

Authentication credential stored for an upstream.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.containerregistry._serialization.Model
AuthCredential

Constructor

AuthCredential(*, name: str | _models.CredentialName | None = None, username_secret_identifier: str | None = None, password_secret_identifier: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
name

The name of the credential. "Credential1"

username_secret_identifier
str

KeyVault Secret URI for accessing the username.

password_secret_identifier
str

KeyVault Secret URI for accessing the password.

Variables

Name Description
name

The name of the credential. "Credential1"

username_secret_identifier
str

KeyVault Secret URI for accessing the username.

password_secret_identifier
str

KeyVault Secret URI for accessing the password.

credential_health

This provides data pertaining to the health of the auth credential.