Skip to main content
POST
cURL

Path Parameters

keyId
string<uuid>
required

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

Body

application/json
data
string
required

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

Response

Default Response

mac
string
required
keyId
string<uuid>
required
macAlgorithm
enum<string>
required
Available options:
HMAC_SHA_1,
HMAC_SHA_224,
HMAC_SHA_256,
HMAC_SHA_384,
HMAC_SHA_512