Skip to main content

Secret

Properties

PropertyTypeAttributesDescription
namestringRequired, IdentifierThe name of the secret in KeyVault.
valuestringRequired, Write-only, SensitiveThe value of the secret in KeyVault. Changing this creates a new version of the secret.
contentTypestringThe content type of the secret, e.g. 'text/plain'.
createdOnstringRead-onlyThe UTC date/time at which the secret was created, in ISO 8601 format.
enabledboolWhether the secret is enabled.
expiresOnstringThe UTC date/time at which the secret expires, in ISO 8601 format, e.g. '2026-01-01T00:00:00Z'.
idstringRead-onlyThe versioned URI of the secret.
notBeforestringThe UTC date/time before which the secret cannot be used, in ISO 8601 format, e.g. '2025-01-01T00:00:00Z'.
recoveryLevelstringRead-onlyThe deletion recovery level currently in effect for the secret.
tagsDictionary<string, String>Tags to apply to the secret.
updatedOnstringRead-onlyThe UTC date/time at which the secret was last updated, in ISO 8601 format.
vaultUristringIdentifierThe URI of the Key Vault holding the secret. Defaults to the 'vaultUri' supplied in the extension configuration.
versionstringRead-onlyThe version of the secret.
versionlessIdstringRead-onlyThe URI of the secret, without a version. Use this to always resolve the latest version.

Dictionary<string, String>

Additional properties of type string are allowed.