All Products
Search
Document Center

:What do I do if the "This request is forbidden by kms" error message is returned when I upload, download, or access files that are encrypted by using KMS?

Last Updated:Feb 27, 2023

Problem description

When you upload, download, or access objects in Object Storage Service (OSS) that are encrypted by using Key Management Service (KMS), the "This request is forbidden by kms" error message is returned

Causes

You do not have the permissions to access KMS.

Solutions

Obtain the permissions to use the specified customer master key (CMK). For more information, see Server-side encryption.

Applicable scope

  • OSS