CmdID / az / az keyvault / az keyvault secret
az keyvault secret set-attributes
Updates the attributes associated with a specified secret in a given key vault. Azure CLI reference
9 options Its page in the Azure CLI reference
Options
--content-type, --descriptionDescription of the secret contents (e.g. password, connection string, etc)--enabledEnable the secret.--expiresExpiration UTC datetime (Y-m-d'T'H:M:S'Z').--idId of the secret.--name, -nName of the secret.--not-beforeSecret not usable before the provided UTC datetime (Y-m-d'T'H:M:S'Z').--tagsspace-separated tags: key[=value] [key[=value] ...].--vault-nameName of the Key Vault.--version, -vThe secret version.