Object Storage API, Amazon S3-compatible REST: GetBucketEncryption
Returns information about bucket encryption. For more information about bucket encryption, see Encryption in Object Storage.
For more information on getting started with the API and the general request format, see How to use the S3 API.
Request
GET /{bucket}?encryption HTTP/2
Path parameters
|
Parameter |
Description |
|
|
Bucket name |
Headings
Use only common headers in your requests.
Response
Headers
Responses can only contain common headers.
Response codes
For a list of possible responses, see Responses.
A successful response contains additional data in XML format with the schema described below.
Data schema
<ServerSideEncryptionConfiguration>
<Rule>
<ApplyServerSideEncryptionByDefault>
<KMSMasterKeyID>string</KMSMasterKeyID>
<SSEAlgorithm>string</SSEAlgorithm>
</ApplyServerSideEncryptionByDefault>
</Rule>
...
</ServerSideEncryptionConfiguration>
|
Element |
Description |
|
|
Sets default encryption for the object, if other encryption parameters are not specified in the request. Path: |
|
|
KMS key ID. Path: |
|
|
Server-side encryption policy. The encryption is defined by Path: |
|
|
Default encryption configuration for new objects in the bucket. Path: |
|
|
Encryption algorithm that takes the Path: |