Problem description
OSS cannot find the customer master key (CMK) version you specified for server-side encryption with Key Management Service (KMS). The encryption or decryption operation fails because the key version does not exist in KMS.
Causes
The specified version of the CMK for data encryption and decryption does not exist.
Examples
For example, you want to use a KMS-managed CMK for data encryption and decryption (SSE-KMS), but the specified version of the CMK does not exist.
Solutions
Call the ListKeyVersions operation of the KMS service to check whether the specified CMK version exists.
References
DescribeKeyVersion — retrieve details about a specific CMK version
该文章对您有帮助吗?