0005-00000210

更新时间:
复制 MD 格式

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

Server-side encryption