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
Original file line number
Diff line number
Diff line change
@@ -181,6 +181,20 @@ You may further restrict the permissions by specifying a prefix within the bucke
181
181
182
182
```
183
183
184
+
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:
185
+
186
+
```js
187
+
{
188
+
"Action": [
189
+
"s3:CreateBucket"
190
+
],
191
+
"Effect":"Allow",
192
+
"Resource": [
193
+
"arn:aws:s3:::snaps.example.com"
194
+
]
195
+
}
196
+
```
197
+
184
198
## Testing
185
199
186
200
Integrations tests in this plugin require working AWS configuration and therefore disabled by default. Three buckets and two iam users have to be created. The first iam user needs access to two buckets in different regions and the final bucket is exclusive for the other iam user. To enable tests prepare a config file elasticsearch.yml with the following content:
0 commit comments