View source: R/kms_operations.R
kms_generate_mac | R Documentation |
Generates a hash-based message authentication code (HMAC) for a message using an HMAC KMS key and a MAC algorithm that the key supports. HMAC KMS keys and the HMAC algorithms that KMS uses conform to industry standards defined in RFC 2104.
See https://www.paws-r-sdk.com/docs/kms_generate_mac/ for full documentation.
kms_generate_mac(
Message,
KeyId,
MacAlgorithm,
GrantTokens = NULL,
DryRun = NULL
)
Message |
[required] The message to be hashed. Specify a message of up to 4,096 bytes.
|
KeyId |
[required] The HMAC KMS key to use in the operation. The MAC algorithm computes the HMAC for the message and the key as described in RFC 2104. To identify an HMAC KMS key, use the |
MacAlgorithm |
[required] The MAC algorithm used in the operation. The algorithm must be compatible with the HMAC KMS key that you specify.
To find the MAC algorithms that your HMAC KMS key supports, use the
|
GrantTokens |
A list of grant tokens. Use a grant token when your permission to call this operation comes from a new grant that has not yet achieved eventual consistency. For more information, see Grant token and Using a grant token in the Key Management Service Developer Guide. |
DryRun |
Checks if your request will succeed. To learn more about how to use this parameter, see Testing your KMS API calls in the Key Management Service Developer Guide. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.