v4

latestOpenAPI 3.0.32026-07-312,317012.2 MB
KMS Signing

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

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

Path parameters

keyIdstring uuid required

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

Request body

datastring required

The data in string format to generate the MAC for (base64 encoded).

Response

Default Response

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