Return the user’s default encryption configuration of OSS bucket. This interface is compatible with S3, and only supports the compatible S3 service domain name of OSS. Refer to Server Domain Name.
GET /?encryption HTTP/1.1
Host: <BUCKET_NAME>.s3.<REGION>.jdcloud-oss.com
Date: Wed, 06 Sep 2018 12:00:00 GMT
Authorization: authorization string (use signature version 4)
Content-Length: 0
There is no need to request parameter.
There is no need for special request head.
There is no need for request body.
No Special Header.
Name | Description |
---|---|
ApplyServerSideEncryptionByDefault | Collection of server-side default bucket encryption modes Child node: SSEAlgorithm, KMSMasterKeyID Parent node: Rule |
Rule | Configuration collection of server-side default bucket encryption modes Child node: ApplyServerSideEncryptionByDefault Parent node: ServerSideEncryptionConfiguration |
ServerSideEncryptionConfiguration | Specific configuration collection of server-side default bucket encryption modes Child node: Rule Parent node: None |
SSEAlgorithm | Encryption algorithm of server-side default bucket Valid value: aws:kms Limit: Only can be used within ApplyServerSideEncryptionByDefault Parent node: ApplyServerSideEncryptionByDefault |
No Special Error.
HTTP/1.1 200 OK
Server: JDCloudOSS
Date: Wed, 14 Nov 2018 03:50:32 GMT
Content-Type: text/xml;charset=UTF-8
Content-Length: 292
Connection: keep-alive
Vary: Accept-Encoding
x-req-id: 9DFB131D1820AD65
x-amz-request-id: 9DFB131D1820AD65
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ServerSideEncryptionConfiguration>
<Rule>
<ApplyServerSideEncryptionByDefault>
<SSEAlgorithm>aws:kms</SSEAlgorithm>
</ApplyServerSideEncryptionByDefault>
</Rule>
</ServerSideEncryptionConfiguration>