Problem description
An error occurs when the x-oss-server-side-encryption header is set to KMS but Key Management Service (KMS) has not been activated.
Causes
Object Storage Service (OSS) requires KMS to be active before it can perform server-side encryption with KMS-managed keys. If KMS is not activated, OSS rejects the encryption request.
Examples
A request fails if the x-oss-server-side-encryption header is set to KMS, all other related fields are valid, but the KMS service is not activated.
Solutions
Activate the KMS service. Then, configure the service as required for use with OSS. For instructions, see Server-side encryption.
References
该文章对您有帮助吗?