你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SessionRegistryCredentials Class

Session pool private registry credentials.

Constructor

SessionRegistryCredentials(*, server: str | None = None, username: str | None = None, password_secret_ref: str | None = None, identity: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
server
str

Container registry server.

Default value: None
username
str

Container registry username.

Default value: None
password_secret_ref
str

The name of the secret that contains the registry login password.

Default value: None
identity
str

A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'.

Default value: None

Variables

Name Description
server
str

Container registry server.

username
str

Container registry username.

password_secret_ref
str

The name of the secret that contains the registry login password.

identity
str

A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'.