Sample S3 Bucket Policies — Part 01

Figure 1 — S3 Access Polices (Bucket and Object)

Policy Type: S3 bucket policy

Effect: Deny

Principle: *

AWS Service: Amazon S3 (This will be automatically get selected)

Actions: PutObject

ARN: <Select the bucket ARN and paste is here>

Figure 2 — Using the Policy Generator

Condition: StringNotEquals

Key: s3:x-amz-server-side-encryption

Value: aws:kms

Figure 3 — Adding Conditions for a Policy
Figure 4
Figure 5 — Bucket Policy
Figure 6 — No Encryption Specified
Figure 7 — SSE-KMS as the Encryption method



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store