Problem description
The bucket does not have a server-side encryption configuration. This error is returned when you call GET /?encryption on a bucket that has no encryption rule set.
Causes
No encryption rule has been configured for the bucket. Buckets created without an explicit encryption configuration remain unencrypted unless you add one later.
Examples
The following GET /?encryption request triggers this error on a bucket with no encryption configuration:
GET /?encryption HTTP/1.1
Date: Tue, 20 Dec 2018 11:20:10 GMT
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Authorization: OSS qn6q**************:77Dv****************Solutions
Set an encryption rule on the bucket using the PutBucketEncryption API.
For full parameter details and request examples, see PutBucketEncryption.
References
Server-side encryption — overview of encryption methods, key management, and how OSS applies encryption to objects
该文章对您有帮助吗?