Cloud & Systems
What Is an AWS Resource-Based Policy? Define Principals and Actions on an S3 Bucket
An AWS resource-based policy is a JSON policy attached directly to a resource, such as an S3 bucket or KMS key, to specify who may perform which actions and under what conditions. An identity-based policy attached to a user or role describes permissions from the principal’s perspective; a resource-based policy names the allowed principal from the protected resource’s perspective. The two approaches are not interchangeable, and cross-account access and KMS often require policies on both sides.