You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-6Lines changed: 14 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -210,7 +210,10 @@ In order to restrict the Elasticsearch snapshot process to the minimum required
210
210
"Statement": [
211
211
{
212
212
"Action": [
213
-
"s3:ListBucket"
213
+
"s3:ListBucket",
214
+
"s3:GetBucketLocation",
215
+
"s3:ListBucketMultipartUploads",
216
+
"s3:ListBucketVersions"
214
217
],
215
218
"Effect":"Allow",
216
219
"Resource": [
@@ -221,7 +224,9 @@ In order to restrict the Elasticsearch snapshot process to the minimum required
221
224
"Action": [
222
225
"s3:GetObject",
223
226
"s3:PutObject",
224
-
"s3:DeleteObject"
227
+
"s3:DeleteObject",
228
+
"s3:AbortMultipartUpload",
229
+
"s3:ListMultipartUploadParts"
225
230
],
226
231
"Effect":"Allow",
227
232
"Resource": [
@@ -231,7 +236,6 @@ In order to restrict the Elasticsearch snapshot process to the minimum required
231
236
],
232
237
"Version":"2012-10-17"
233
238
}
234
-
235
239
```
236
240
237
241
You may further restrict the permissions by specifying a prefix within the bucket, in this example, named "foo".
@@ -241,7 +245,10 @@ You may further restrict the permissions by specifying a prefix within the bucke
241
245
"Statement": [
242
246
{
243
247
"Action": [
244
-
"s3:ListBucket"
248
+
"s3:ListBucket",
249
+
"s3:GetBucketLocation",
250
+
"s3:ListBucketMultipartUploads",
251
+
"s3:ListBucketVersions"
245
252
],
246
253
"Condition": {
247
254
"StringLike": {
@@ -259,7 +266,9 @@ You may further restrict the permissions by specifying a prefix within the bucke
259
266
"Action": [
260
267
"s3:GetObject",
261
268
"s3:PutObject",
262
-
"s3:DeleteObject"
269
+
"s3:DeleteObject",
270
+
"s3:AbortMultipartUpload",
271
+
"s3:ListMultipartUploadParts"
263
272
],
264
273
"Effect":"Allow",
265
274
"Resource": [
@@ -269,7 +278,6 @@ You may further restrict the permissions by specifying a prefix within the bucke
269
278
],
270
279
"Version":"2012-10-17"
271
280
}
272
-
273
281
```
274
282
275
283
The bucket needs to exist to register a repository for snapshots. If you did not create the bucket then the repository registration will fail. If you want elasticsearch to create the bucket instead, you can add the permission to create a specific bucket like this:
0 commit comments