Requires all S3 bucket uploads to include server-side encryption, ensuring data at rest is always protected.
What this SCP does
This Service Control Policy (SCP) requires all S3 bucket uploads to include server-side encryption, ensuring data at rest is always protected. This is a critical security control for data protection.
By enforcing encryption for all object uploads, this policy ensures that all data stored in S3 is encrypted at rest, helping to meet compliance requirements and protect sensitive information from unauthorized access in the event of a breach.
How to test this SCP works
To validate this SCP, try to upload objects to S3 with and without encryption.
We expect uploads without encryption to be denied with an AccessDenied error, while uploads with proper server-side encryption specified should succeed. This confirms that the SCP is enforcing the encryption requirement for all object uploads.