Bucket Encryption Configuration Reference
A bucket encryption configuration is a JSON file in which you define the encryption rules you want to apply to a bucket when enabling encryption. With an encryption configuration, you can specify the default encryption method for new objects, ensuring that all data stored in the bucket meets your security and compliance requirements.
This page describes the elements you can specify in an encryption configuration file. Once you have written the file, you need to apply it to your bucket. For more information, see Enabling or Disabling Bucket Encryption.
You can also specify these elements as an inline JSON string. |
To create an encryption configuration, you need to create a JSON file following this structure:
{
"Rules":
[
{
"ApplyServerSideEncryptionByDefault":
{
"SSEAlgorithm": "AES256"
}
}
]
}
This file contains the following attributes:
Attribute | Required | Description | ||
---|---|---|---|---|
|
Yes |
The specific encryption rules applied as default for objects placed in the buckets. |
||
|
Yes |
Specifies the default encryption settings applied to new objects stored in the bucket. |
||
|
Yes |
The server-side encryption algorithm to use, always
|
Related Pages