From 647c85abf18abe5b6d205b7d8ac206cc4d91f7d3 Mon Sep 17 00:00:00 2001 From: Shaun Warman Date: Sat, 9 May 2020 16:13:54 -0500 Subject: [PATCH] Update README.md --- README.md | 54 +++++++++++++++++++++++++++++++++--------------------- 1 file changed, 33 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 2822e65..1d5c5b3 100644 --- a/README.md +++ b/README.md @@ -71,27 +71,39 @@ gulp.task("publish", function() { ```json { - "Version": "2012-10-17", - "Statement": [ - { - "Effect": "Allow", - "Action": ["s3:ListBucket"], - "Resource": ["arn:aws:s3:::BUCKETNAME"] - }, - { - "Effect": "Allow", - "Action": [ - "s3:PutObject", - "s3:PutObjectAcl", - "s3:GetObject", - "s3:GetObjectAcl", - "s3:DeleteObject", - "s3:ListMultipartUploadParts", - "s3:AbortMultipartUpload" - ], - "Resource": ["arn:aws:s3:::BUCKETNAME/*"] - } - ] + "Version": "2012-10-17", + "Statement": [ + { + "Effect": "Allow", + "Principal": { + "AWS": "arn:aws:iam:::root" + }, + "Action": [ + "s3:ListBucket" + ], + "Resource": [ + "arn:aws:s3:::test-ladsh" + ] + }, + { + "Effect": "Allow", + "Principal": { + "AWS": "arn:aws:iam:::root" + }, + "Action": [ + "s3:PutObject", + "s3:PutObjectAcl", + "s3:GetObject", + "s3:GetObjectAcl", + "s3:DeleteObject", + "s3:ListMultipartUploadParts", + "s3:AbortMultipartUpload" + ], + "Resource": [ + "arn:aws:s3:::test-ladsh/*" + ] + } + ] } ```