AWS organizations SCP question on S3 encruption rules

0

I'd like to ensure that all data/objects in the S3 buckets are encrypted across all my accounts. To guarantee the encryption, in the SCP at the org level, I included the policy in image below. However, this blocks many of the AWS services from writing to S3. For example, DataSync supports copying to encrypted buckets, but it does not have an option to pass the KMS encryption header in requests. Ask: How can the I guarantee that all data in all S3 buckets is encrypted using the my key without using the policy below at the Org level SCP? Or reference to anyone who can help?

Enter image description here

AWS
asked 10 months ago309 views
2 Answers
0

I normally use the s3:x-amz-server-side-encryption-aws-kms-key-id in most policies to ensure that the intended KMS key is used for s3:PutObject. This key is present whenever the object is being encrypted with SSE-KMS, regardless of whether it was inherited from the bucket's default encryption setting or explicitly specified in a request header. You could use the key also in an SCP just to identify that the condition key is present, which it isn't, if SSE-S3 is used.

EXPERT
answered 10 months ago
0

Here are the alternatives i can think of in your case.

S3 Default Encryption: You can enable default encryption at the S3 bucket level or the AWS account level using a customer-managed KMS key. This will automatically encrypt all new objects uploaded to the bucket, without impacting other AWS services.

Bucket Policies: You can create S3 bucket policies that require encryption for all object uploads. This approach is more flexible than the SCP, as you can tailor the policy to specific buckets or accounts.

AWS Config Rules: You can use AWS Config managed rules, such as s3-bucket-server-side-encryption-enabled, to continuously monitor and enforce encryption on your S3 buckets. This approach can be applied at the organization level using AWS Organizations.

AWS Backup: If you're using AWS Backup to manage your backups, you can configure it to automatically encrypt your S3 backups using a KMS key of your choice.

profile pictureAWS
EXPERT
answered 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions