From 3aa144af75fc76fe3c54d66c171eac1d9869ffc3 Mon Sep 17 00:00:00 2001 From: Dave Head-Rapson Date: Tue, 21 Feb 2017 16:09:30 +0000 Subject: [PATCH] improve permission / resource explanation in README --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8229300e..2574013e 100644 --- a/README.md +++ b/README.md @@ -136,18 +136,24 @@ a new version of that file. ### Non-versioned Buckets +The bucket itself (e.g. `"arn:aws:s3:::your-bucket"`): +* `s3:ListBucket` + +The objects in the bucket (e.g. `"arn:aws:s3:::your-bucket/*"`): * `s3:PutObject` * `s3:PutObjectAcl` * `s3:GetObject` -* `s3:ListBucket` ### Versioned Buckets Everything above and... +The bucket itself (e.g. `"arn:aws:s3:::your-bucket"`): +* `s3:ListBucketVersions` * `s3:GetBucketVersioning` + +The objects in the bucket (e.g. `"arn:aws:s3:::your-bucket/*"`): * `s3:GetObjectVersion` -* `s3:ListBucketVersions` * `s3:PutObjectVersionAcl` ## Developing on this resource