Problem description
An error occurs if you use Key Management Service (KMS) for server-side encryption but have not activated the service. This error is triggered when the x-oss-server-side-encryption request header is set to KMS and the other related fields are valid.
Causes
KMS is not activated. Server-side encryption based on KMS-managed keys in Object Storage Service (OSS) requires KMS to be activated and available.
Examples
For example, an error occurs if the x-oss-server-side-encryption request header is set to KMS and 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.