All Products
Search
Document Center

ApsaraVideo VOD:DecryptKMSDataKey

Last Updated:Jul 19, 2024

Decrypts the ciphertext specified by CiphertextBlob in the Key Management Service (KMS) data key.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
The current API does not require request parameters

Response parameters

ParameterTypeDescriptionExample
object

The returned results.

KeyIdstring

The ID of the customer master key (CMK) that was used to decrypt the ciphertext.

202b9877-5a25-46e3-a763-e20791b5****
Plaintextstring

The plaintext that is generated after decryption.

tRYXuCwgja12xxO1N/gZERDDCLw9doZEQiPDk/Bv****

Examples

Sample success responses

JSONformat

{
  "RequestId": "25818875-5F78-4A*****F6-D7393642CA58",
  "KeyId": "202b9877-5a25-46e3-a763-e20791b5****",
  "Plaintext": "tRYXuCwgja12xxO1N/gZERDDCLw9doZEQiPDk/Bv****"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2022-07-27The request parameters of the API has changedView Change Details
2022-07-21Add OperationView Change Details