All Products
Search
Document Center

Object Storage Service:"This request is forbidden by kms" error when accessing KMS-encrypted objects in OSS

Last Updated:Dec 05, 2025

Problem description

You receive the "This request is forbidden by kms" error when you upload, download, or access objects in Object Storage Service (OSS) that are encrypted by Key Management Service (KMS).

Cause

You do not have the required permissions to use KMS.

Solution

Ensure that you have the required permissions to use the specified customer master key (CMK) ID. For more information, see Server-side encryption.

Applies to

  • Object Storage Service (OSS)