Share via


ImageRegistryCredential Class

Image registry credential.

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

Constructor

ImageRegistryCredential(*, server: str, username: str | None = None, password: str | None = None, identity: str | None = None, identity_url: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
server
str

The Docker image registry server without a protocol such as "http" and "https". Required.

username
str

The username for the private registry.

Default value: None
password
str

The password for the private registry.

Default value: None
identity
str

The identity for the private registry.

Default value: None
identity_url
str

The identity URL for the private registry.

Default value: None

Variables

Name Description
server
str

The Docker image registry server without a protocol such as "http" and "https". Required.

username
str

The username for the private registry.

password
str

The password for the private registry.

identity
str

The identity for the private registry.

identity_url
str

The identity URL for the private registry.