S3 Put Bucket Encryption
- Print
- DarkLight
S3 Put Bucket Encryption
- Print
- DarkLight
Article Summary
Share feedback
Thanks for sharing your feedback!
PUThttps://s3.<your-region>.backblazeb2.com/<your-bucket-name>/?encryption
Sets the bucket's default encryption configuration. For more information on default encryption see Default Bucket Encryption.
AUTHORIZATION AWS Signature
This request is using AWS Signature from collection Backblaze B2 Cloud Storage S3 Compatible API.
PARAMS
encryption | Must be present to put bucket encryption configuration |
PATH VARIABLES
bucket | Required. The name of the bucket |
Example Request
curl --location --request PUT 'https://s3.<your-region>.backblazeb2.com/my-bucket-name/?encryption=null' \
--data '<ServerSideEncryptionConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Rule>
<ApplyServerSideEncryptionByDefault>
<SSEAlgorithm>AES256</SSEAlgorithm>
</ApplyServerSideEncryptionByDefault>
</Rule>
</ServerSideEncryptionConfiguration>'
Example Response
200 OK
Body
No response body This request doesn't return any response body |
Headers (8)
x-amz-request-id | 699c79d678ac85eb |
x-amz-id-2 | aMb41pGbJOWYzrTUIY0JmFjSgZMljS2L4 |
Cache-Control | max-age=0, no-cache, no-store |
Content-Type | |
Content-Length | 0 |
Date | Fri, 28 Jan 2022 22:46:26 GMT |
Keep-Alive | timeout=5 |
Connection | keep-alive |
Was this article helpful?