Example S3 Bucket Policies
Limiting Access to Specific IP Addresses
This statement identifies the 54.240.143.0/24 as the range of allowed IPv4 IP addresses.
Adding a Bucket Policy to Require MFA
S3 supports MFA-protected API access, a feature that can enforce MFA for access to your S3 resources.
Granting Read-Only Permission to an Anonymous User
The following example policy grants the
s3:GetObject
permission to any public anonymous users.
PreviousTrusts in Active DirectoryNextCross-account access to S3 buckets using Resource-based policies and IAM policies
Last updated
Was this helpful?