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
@@ -186,7 +186,10 @@ In order to restrict the Elasticsearch snapshot process to the minimum required
186
186
"Statement": [
187
187
{
188
188
"Action": [
189
-
"s3:ListBucket"
189
+
"s3:ListBucket",
190
+
"s3:GetBucketLocation",
191
+
"s3:ListBucketMultipartUploads",
192
+
"s3:ListBucketVersions"
190
193
],
191
194
"Effect":"Allow",
192
195
"Resource": [
@@ -197,7 +200,9 @@ In order to restrict the Elasticsearch snapshot process to the minimum required
197
200
"Action": [
198
201
"s3:GetObject",
199
202
"s3:PutObject",
200
-
"s3:DeleteObject"
203
+
"s3:DeleteObject",
204
+
"s3:AbortMultipartUpload",
205
+
"s3:ListMultipartUploadParts"
201
206
],
202
207
"Effect":"Allow",
203
208
"Resource": [
@@ -207,7 +212,6 @@ In order to restrict the Elasticsearch snapshot process to the minimum required
207
212
],
208
213
"Version":"2012-10-17"
209
214
}
210
-
211
215
```
212
216
213
217
You may further restrict the permissions by specifying a prefix within the bucket, in this example, named "foo".
@@ -217,7 +221,10 @@ You may further restrict the permissions by specifying a prefix within the bucke
217
221
"Statement": [
218
222
{
219
223
"Action": [
220
-
"s3:ListBucket"
224
+
"s3:ListBucket",
225
+
"s3:GetBucketLocation",
226
+
"s3:ListBucketMultipartUploads",
227
+
"s3:ListBucketVersions"
221
228
],
222
229
"Condition": {
223
230
"StringLike": {
@@ -235,7 +242,9 @@ You may further restrict the permissions by specifying a prefix within the bucke
235
242
"Action": [
236
243
"s3:GetObject",
237
244
"s3:PutObject",
238
-
"s3:DeleteObject"
245
+
"s3:DeleteObject",
246
+
"s3:AbortMultipartUpload",
247
+
"s3:ListMultipartUploadParts"
239
248
],
240
249
"Effect":"Allow",
241
250
"Resource": [
@@ -245,7 +254,6 @@ You may further restrict the permissions by specifying a prefix within the bucke
245
254
],
246
255
"Version":"2012-10-17"
247
256
}
248
-
249
257
```
250
258
251
259
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