v7

latestSwagger 2.0raw.githubusercontent.com2022-12-067889207.3 KB
Keys

Wraps a symmetric key using a specified key.

The WRAP operation supports encryption of a symmetric key using a key encryption key that has previously been stored in an Azure Key Vault. The WRAP operation is only strictly necessary for symmetric keys stored in Azure Key Vault since protection with an asymmetric key can be performed using the public portion of the key. This operation is supported for asymmetric keys as a convenience for callers that have a key-reference but do not have access to the public key material. This operation requires the keys/wrapKey permission.

post/keys/{key-name}/{key-version}/wrapkey

Path parameters

key-namestring required

The name of the key.

key-versionstring required

The version of the key.

Query parameters

api-versionstring required

Client API version.

Request body

alg'RSA-OAEP' | 'RSA-OAEP-256' | 'RSA1_5' required

algorithm identifier

valuestring base64url required

Response

The wrapped symmetric key.

kidstring

Key identifier

valuestring base64url