Bucket policies and user policies - Amazon Simple Storage Service

Bucket policies and user policies

Bucket policies and user policies are two access policy options available for granting permission to your Amazon S3 resources. Both use JSON-based access policy language.

The topics in this section describe the key policy language elements, with emphasis on Amazon S3–specific details, and provide example bucket and user policies. We recommend that you first review the introductory topics that explain the basic concepts and options available for you to manage access to your Amazon S3 resources. For more information, see Identity and access management in Amazon S3.

Important

Bucket policies are limited to 20 KB in size.