Decrypts the ciphertext specified by CiphertextBlob in the Key Management Service (KMS) data key.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:DecryptKMSDataKey |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CiphertextBlob |
string |
Yes |
The ciphertext that you want to decrypt. |
ODZhOWVmZDktM2QxNi00ODk0LWJkNGYtMWZjNDNmM2YyYWJmS7FmDBBQ0BkKsQrtRnidtPwirmDcS0ZuJCU41xxAAWk4Z8qsADfbV0b+i6kQmlvj79dJdGOvtX69Uycs901qOjop4bTS**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
******11-DB8D-4A9A-875B-275798****** |
| DataKey |
object |
The information about the decryption result. |
|
| KeyId |
string |
The ID of the customer master key (CMK) that was used to decrypt the ciphertext. |
202b9877-5a25-46e3-a763-e20791b5**** |
| Plaintext |
string |
The plaintext that is generated after decryption. |
tRYXuCwgja12xxO1N/gZERDDCLw9doZEQiPDk/Bv**** |
Examples
Success response
JSON format
{
"RequestId": "******11-DB8D-4A9A-875B-275798******",
"DataKey": {
"KeyId": "202b9877-5a25-46e3-a763-e20791b5****\n",
"Plaintext": "tRYXuCwgja12xxO1N/gZERDDCLw9doZEQiPDk/Bv****\n"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.