Configure S3 Encryption
Perform the following steps to configure S3 encryption.
- To enable Encryption for AWS S3 bucket, include the following property in the
vars.dataserver.aws.yml
file: - There are three parts to the
S3_ENCRYPTION_BUCKET_DATA
property:- S3_ENCRYPTION_BUCKET_NAME: Comma-separated list of S3 bucket names.
- S3_ENCRYPTION_SSETYPE: The type of server-side encryption to use for the S3 bucket. The supported values are
SSE-C
,SSE-KMS
, andSSE-S3
. - S3_ENCRYPTION_SSEKEY: The server-side encryption key to use for the S3 bucket. This is optional based on the
SSE_TYPE
value:- For SSE_TYPE
SSE-C
SSE_KEY is mandatory, for SSE_TYPESSE-KMS
SSE_KEY is optional and for SSE_TYPESSE-S3
there is no SSE_KEY.
- For SSE_TYPE
- To enable Encryption for Multiple S3 Buckets:
- Use the
S3_ENCRYPTION_BUCKET_DATA
property to specify encryption details for multiple S3 buckets. The format is as follows:YAML - For example:
YAML
- Use the
- Once the properties are configured, refer to the Privacera Manager Quickstart.
- In PrivaceraCloud, navigate to Settings -> Applications.
- On the Connected Applications screen, select S3.
- Click the edit icon next to the
Account Name
, then go to Access Management -> ADVANCED tab. - Add the following property with the appropriate value for
<your_profile_name>
,<your_s3_bucket_name>
,<sse_type>
, and<sse_key>
:Properties - S3_ENCRYPTION_BUCKET_NAME: Comma-separated list of S3 bucket names.
- S3_ENCRYPTION_SSETYPE: The type of server-side encryption to use for the S3 bucket. The supported values are
SSE-C
,SSE-KMS
, andSSE-S3
. - S3_ENCRYPTION_SSEKEY: The server-side encryption key to use for the S3 bucket. This is optional based on the
SSE_TYPE
value:- For SSE_TYPE
SSE-C
SSE_KEY is mandatory, for SSE_TYPESSE-KMS
SSE_KEY is optional and for SSE_TYPESSE-S3
there is no SSE_KEY.
- For SSE_TYPE
- Click the Test Connection button to verify the connection.
- Once the connection is successful, click Save.
- Prev topic: Advanced Configuration