CmdID / az / az keyvault / az keyvault key
az keyvault key set-attributes
The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored in Vault or HSM. Azure CLI reference
12 options Its page in the Azure CLI reference
Options
--enabledEnable the key.--expiresExpiration UTC datetime (Y-m-d'T'H:M:S'Z').--hsm-nameName of the HSM.--idId of the key.--immutableMark a release policy as immutable.--name, -nName of the key.--not-beforeKey not usable before the provided UTC datetime (Y-m-d'T'H:M:S'Z').--opsSpace-separated list of permitted JSON web key operations.--policyThe policy rules under which the key can be exported.--tagsspace-separated tags: key[=value] [key[=value] ...].--vault-nameName of the Vault.--version, -vThe key version.