v4

latestOpenAPI 3.0.32026-07-312,317012.2 MB
KMS Signing

Verify an HMAC (MAC) for data with a KMS key.

post/api/v1/kms/keys/{keyId}/verify-mac

Path parameters

keyIdstring uuid required

The ID of the key to verify the MAC with. The key must be for generating and verifying MACs.

Request body

datastring required

The data in string format the MAC was generated for (base64 encoded).

macstring required

The MAC to be verified (base64 encoded).

Response

Default Response

macValidboolean required
keyIdstring uuid required
macAlgorithm'HMAC_SHA_1' | 'HMAC_SHA_224' | 'HMAC_SHA_256' | 'HMAC_SHA_384' | 'HMAC_SHA_512' required