Enforces server-side encryption for all S3 uploads, ensuring all data is encrypted at rest for compliance and security.
What this SCP does
This Service Control Policy (SCP) enforces server-side encryption for all S3 uploads, ensuring all data is encrypted at rest. This is important for compliance requirements and data protection.
When users try to upload objects to S3 without specifying encryption, the operation will be denied. This ensures that all data stored in S3 across the organization is encrypted, helping to meet security and compliance requirements.
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 that specify server-side encryption should succeed.