v8

latestSwagger 2.02026-07-13254292.3 KB

The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored in Azure Key Vault.

In order to perform this operation, the key must already exist in the Key Vault. Note: The cryptographic material of a key itself cannot be changed. This operation requires the keys/update permission.

patch/keys/{key-name}/{key-version}

Path parameters

key-namestring required

The name of key to update.

key-versionstring required

The version of the key to update.

Query parameters

api-versionstring required

The API version to use for this operation.

Request body

key_opsJsonWebKeyOperation[]

Json web key operations. For more information on possible key operations, see JsonWebKeyOperation.

tagsobject

Application specific metadata in the form of key-value pairs.

Response

The request has succeeded.

tagsobject

Application specific metadata in the form of key-value pairs.

managedboolean

True if the key's lifetime is managed by key vault. If this is a key backing a certificate, then managed will be true.