Merge pull request #29358 from moajo/add-s3-delete-object-to-document

Update website/docs/language/settings/backends/s3.html.md
This commit is contained in:
Laura Pacilio 2021-08-23 13:59:48 -04:00 committed by GitHub
commit 6235453d21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -47,6 +47,7 @@ the target backend bucket:
* `s3:ListBucket` on `arn:aws:s3:::mybucket` * `s3:ListBucket` on `arn:aws:s3:::mybucket`
* `s3:GetObject` on `arn:aws:s3:::mybucket/path/to/my/key` * `s3:GetObject` on `arn:aws:s3:::mybucket/path/to/my/key`
* `s3:PutObject` on `arn:aws:s3:::mybucket/path/to/my/key` * `s3:PutObject` on `arn:aws:s3:::mybucket/path/to/my/key`
* `s3:DeleteObject` on `arn:aws:s3:::mybucket/path/to/my/key`
This is seen in the following AWS IAM Statement: This is seen in the following AWS IAM Statement:
@ -61,7 +62,7 @@ This is seen in the following AWS IAM Statement:
}, },
{ {
"Effect": "Allow", "Effect": "Allow",
"Action": ["s3:GetObject", "s3:PutObject"], "Action": ["s3:GetObject", "s3:PutObject", "s3:DeleteObject"],
"Resource": "arn:aws:s3:::mybucket/path/to/my/key" "Resource": "arn:aws:s3:::mybucket/path/to/my/key"
} }
] ]