Skip to content

Commit

Permalink
Document AWS IAM policy permissions for AWS S3 backend
Browse files Browse the repository at this point in the history
Document the AWS IAM policy permissions which are required for the most
common use cases of the AWS S3 backend.
  • Loading branch information
Ira W. Snyder authored and jschneier committed May 16, 2019
1 parent a07ab2c commit b441b74
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions docs/backends/amazon-S3.rst
Expand Up @@ -202,6 +202,35 @@ origin manually for this to work.
If you need to use multiple storages that are served via CloudFront, pass the
`custom_domain` parameter to their constructors.

IAM Policy
----------

The IAM policy permissions needed for most common use cases are:

.. code-block:: json
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:GetObjectAcl",
"s3:GetObject",
"s3:ListBucket",
"s3:DeleteObject",
"s3:PutObjectAcl"
],
"Resource": [
"arn:aws:s3:::example-bucket-name/*",
"arn:aws:s3:::example-bucket-name"
]
}
]
}
Storage
-------

Expand Down

0 comments on commit b441b74

Please sign in to comment.