bucket policy
A resource-based policy attached to an S3 bucket that says which principals may perform which actions on it and its objects.
In more detail
Bucket policies can grant access to other accounts and can enforce rules such as encrypted uploads. Keep them narrow: one principal, the actions it needs and one prefix, and test them with the policy simulator.
Related terms
- resource-based policy — An IAM policy attached to a resource, such as a bucket, queue or encryption key, that names which principals may use it.
- S3 bucket — A named container for objects in S3, created in one region, that sets the boundary for policies, versioning and lifecycle rules.
- S3 Block Public Access — S3 settings, at account or bucket level, that override any policy or permission that would make data public.
- VPC endpoint policy — A resource policy on a VPC endpoint that limits which principals, actions and resources can be reached through it.
Taught in
- Security Sprint: Fifteen Questions' Worth — AWS Certified Cloud Practitioner (CLF-C02) Exam Prep
- Policy Evaluation: Deny Wins, And Both Accounts Must Agree — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Private Paths: VPC Endpoints And PrivateLink — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- The Edge: WAF, Shield, CloudFront And GuardDuty — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Protecting Data: Versions, Object Lock, Backups And Secrets — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Ingest And Transform: Streams, Lakes And Partitions — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Long-Stem Clinic: The Phrase That Decides — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- S3: Permissions, Tiers, and Policies — Cloud Infrastructure & Hyperscaler Architecture
- Cloud Network Isolation: VPC Peering & PrivateLink — Cloud Security & DevSecOps Engineering
- Cloud IAM Architecture & Permission Boundaries — Cloud Security & DevSecOps Engineering
- Cross-Account AssumeRole Chains & Temporary STS — Cloud Security & DevSecOps Engineering
- Least Privilege Enforcement & CIEM Architecture — Cloud Security & DevSecOps Engineering
- Continuous IaC Drift Detection & State Protection — Cloud Security & DevSecOps Engineering
- Threat Detection with GuardDuty & Anomaly Analytics — Cloud Security & DevSecOps Engineering