Delen via


Secret Class

Secret definition.

Constructor

Secret(*, name: str | None = None, value: str | None = None, identity: str | None = None, key_vault_url: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
name
str

Secret Name.

Default value: None
value
str

Secret Value.

Default value: None
identity
str

Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.

Default value: None
key_vault_url
str

Azure Key Vault URL pointing to the secret referenced by the container app.

Default value: None

Variables

Name Description
name
str

Secret Name.

value
str

Secret Value.

identity
str

Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.

key_vault_url
str

Azure Key Vault URL pointing to the secret referenced by the container app.