Mendekripsi ciphertext yang ditentukan oleh CiphertextBlob pada kunci data Key Management Service (KMS).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:DecryptKMSDataKey |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| CipherText |
string |
Yes |
Ciphertext yang akan didekripsi. |
DZhOWVmZDktM2QxNi00ODk0LWJkNGYtMWZjNDNmM2YyYWJmaaSl+TztSIMe43nbTH/Z1Wr4XfLftKhAciUmDQXuMRl4WTvKhxjMThjK**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Hasil yang dikembalikan. |
||
| RequestId |
string |
ID permintaan. |
25818875-5F78-4A*****F6-D7393642CA58 |
| KeyId |
string |
ID kunci master pelanggan (CMK) yang digunakan untuk mendekripsi ciphertext. |
202b9877-5a25-46e3-a763-e20791b5**** |
| Plaintext |
string |
Teks biasa yang dihasilkan setelah dekripsi. |
tRYXuCwgja12xxO1N/gZERDDCLw9doZEQiPDk/Bv**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "25818875-5F78-4A*****F6-D7393642CA58",
"KeyId": "202b9877-5a25-46e3-a763-e20791b5****",
"Plaintext": "tRYXuCwgja12xxO1N/gZERDDCLw9doZEQiPDk/Bv****"
}
Kode kesalahan
|
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. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.