GetBucketEncryption

Returns the default encryption configuration for a Tebi bucket. If the bucket does not have a default encryption configuration, GetBucketEncryption returns ServerSideEncryptionConfigurationNotFoundError.

For information about the Tebi encryption feature, see Server-Side Encryption overview.

You must have Full ACL to be able to call this action.

The following operations are related to GetBucketEncryption:

Request Syntax

1GET /?encryption HTTP/1.1
2Host: <BUCKET>.s3.tebi.io

The request uses the following URI parameters:

  • <BUCKET>: Name of the bucket from which the server-side encryption configuration is retrieved. Required.

The request does not have a request body.

Response Syntax

 1HTTP/1.1 200
 2Content-Type: application/xml
 3Content-Length: ContentLength
 4
 5<?xml version="1.0" encoding="UTF-8"?>
 6<ServerSideEncryptionConfiguration>
 7    <Rule>
 8        <ApplyServerSideEncryptionByDefault>
 9            <SSEAlgorithm>string</SSEAlgorithm>
10        </ApplyServerSideEncryptionByDefault>
11    </Rule>
12    ...
13</ServerSideEncryptionConfiguration>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service:

  • ServerSideEncryptionConfiguration: Root level tag for the ServerSideEncryptionConfiguration parameters.

  • Rule: Container for information about a particular server-side encryption configuration rule.

See Also

Refer here for more information.