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