Last active
November 9, 2022 08:37
-
-
Save saurabhj/2038097ad3762eee77a57c9ab5b38f7b to your computer and use it in GitHub Desktop.
Revisions
-
saurabhj revised this gist
Nov 9, 2022 . 1 changed file with 1 addition and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,9 +10,7 @@ Name of bucket: `my-bucket` "arn:aws:s3:::my-bucket", "arn:aws:s3:::my-bucket/*" ] }, { "Effect": "Allow", "Action": "s3:ListAllMyBuckets", -
saurabhj revised this gist
Nov 9, 2022 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ Name of bucket: `my-bucket` ``` { @@ -21,4 +21,4 @@ Name of bucket: bar ] } ``` via: https://stackoverflow.com/a/13497647 -
saurabhj created this gist
Nov 9, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,24 @@ Name of bucket: bar ``` { "Statement": [ { "Action": "s3:*", "Effect": "Allow", "Resource": [ "arn:aws:s3:::my-bucket", "arn:aws:s3:::my-bucket/*" ] } ], "Statement": [ { "Effect": "Allow", "Action": "s3:ListAllMyBuckets", "Resource": "arn:aws:s3:::*" } ] } ``` via: https://stackoverflow.com/a/8213772