Skip to main content

S3

Example permissions policy

This policy allows access to objects within a given bucket.

The main use of this is to allow an external CDN provider to authenticate to S3, by creating a user with this policy attached, and allowing the external CDN provider to authenticate with that user's access credentials.

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": "s3:GetObject",
            "Resource": [
                "arn:aws:s3:::<S3 bucket name>/*"
            ]
        }
    ]
}