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 |
|
vod:DecryptKMSDataKey |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CipherText |
string |
Yes |
The ciphertext to be decrypted. |
DZhOWVmZDktM2QxNi00ODk0LWJkNGYtMWZjNDNmM2YyYWJmaaSl+TztSIMe43nbTH/Z1Wr4XfLftKhAciUmDQXuMRl4WTvKhxjMThjK**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned results. |
||
| RequestId |
string |
The request ID. |
25818875-5F78-4A*****F6-D7393642CA58 |
| 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": "25818875-5F78-4A*****F6-D7393642CA58",
"KeyId": "202b9877-5a25-46e3-a763-e20791b5****",
"Plaintext": "tRYXuCwgja12xxO1N/gZERDDCLw9doZEQiPDk/Bv****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | EntityNotExist.Role | AliyunVODDefaultRole is not authorized by your account. | The AliyunVODDefaultRole does not have permissions to access the resources. Authorize the role based on the documentation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.