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

SessionRegistryCredentials Class

Session pool private registry credentials.

Constructor

SessionRegistryCredentials(*args: Any, **kwargs: Any)

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'.

Attributes

identity

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'.

identity: str | None

password_secret_ref

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

password_secret_ref: str | None

server

Container registry server.

server: str | None

username

Container registry username.

username: str | None