Enables a key to encrypt and decrypt data.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| KeyId | string | Yes | The globally unique ID of the CMK. | 1234abcd-12ab-34cd-56ef-12345678**** |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "efb1cbbd-a093-4278-bc03-639dd4fcc207"
}Error codes
For a list of error codes, visit the Service error codes.
