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

SecretVolumeItem Class

Secret to be added to volume.

Constructor

SecretVolumeItem(*, secret_ref: str | None = None, path: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
secret_ref
str

Name of the Container App secret from which to pull the secret value.

Default value: None
path
str

Path to project secret to. If no path is provided, path defaults to name of secret listed in secretRef.

Default value: None

Variables

Name Description
secret_ref
str

Name of the Container App secret from which to pull the secret value.

path
str

Path to project secret to. If no path is provided, path defaults to name of secret listed in secretRef.