You need to enable JavaScript to run this app.
Torch Object Storage

Torch Object Storage

Copy page
Download PDF
15-ENCRYPT
0015-00000009
Copy page
Download PDF
0015-00000009
Problem description​
The format of the SSE-KMS encryption key provided in the request is incorrect.​
Root cause​
The key format is incorrect when using SSE-KMS encryption.​
Example​
When uploading an object, the TRN format of the key specified in x-tos-server-side-encryption-kms-key-id is incorrect.​
​
PUT /object HTTP/1.1​
Host: <Bucket name>.<TOS endpoint>​
Date: Fri, 30 Jul 2021 13:59:18 GMT​
Authorization: authorization xxx​
x-tos-server-side-encryption: kms​
x-tos-server-side-encryption-kms-key-id: trn:kms:cn-beijing:20***1:ring1/key1​
​
......​
​
Solution​
When using SSE-KMS encryption, provide the correct key format. The KMS key trn format is: trn:kms:{region}:{accountId}:keyrings:{ringName}:keys:{keyName}.​
Last updated: 2025.10.10 18:58:08