v8

latestSwagger 2.02026-07-13254292.3 KB

Creates a signature from a digest using the specified key.

The SIGN operation is applicable to asymmetric and symmetric keys stored in Azure Key Vault since this operation uses the private portion of the key. This operation requires the keys/sign permission.

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

Path parameters

key-namestring required

The name of the key.

key-versionstring required

The version of the key.

Query parameters

api-versionstring required

The API version to use for this operation.

Request body

alg'PS256' | 'PS384' | 'PS512' | 'RS256' | 'RS384' | 'RS512' | 'HS256' | 'HS384' | 'HS512' | 'RSNULL' | 'ES256' | 'ES384' | 'ES512' | 'ES256K' required

The signing/verification algorithm identifier. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm.

valuestring base64url required

The value to operate on.

Response

The request has succeeded.

kidstring

Key identifier

valuestring base64url

The result of the operation.

ivstring base64url

Cryptographically random, non-repeating initialization vector for symmetric algorithms.

tagstring base64url

The tag to authenticate when performing decryption with an authenticated algorithm.

aadstring base64url

Additional data to authenticate but not encrypt/decrypt when using authenticated crypto algorithms.