# Problem configuring repository-s3 plugin

**URL:** <https://discuss.elastic.co/t/problem-configuring-repository-s3-plugin/185607>\
**Category:** Elasticsearch\
**Created:** [June 13, 2019, 10:14am UTC](https://discuss.elastic.co/t/problem-configuring-repository-s3-plugin/185607 "2019-06-13T10:14:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![haitham00n](https://avatars.discourse-cdn.com/v4/letter/h/59ef9b/32.png) [@haitham00n](https://discuss.elastic.co/u/haitham00n)\
**Post date:** [June 13, 2019, 10:14am UTC](https://discuss.elastic.co/t/problem-configuring-repository-s3-plugin/185607/1 "2019-06-13T10:14:06Z")

</div>

Hello,  
I have installed Elasticsearch 7.1.1 and also installed repository-s3 plugin.

I'm trying to define the bucket in elasticsearch.yml as below:

s3.client.default.bucket: mybucket

Then after restarting Elasticsearch i'm getting this error:

Exception  
java.lang.IllegalArgumentException: unknown setting [s3.client.default.bucket] please check that any required plugins are installed, or check the breaking changes documentation for removed settings.

I am not sure if I'm missing something of it's not allowed anymore.

Regards.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 13, 2019, 10:25am UTC](https://discuss.elastic.co/t/problem-configuring-repository-s3-plugin/185607/2 "2019-06-13T10:25:01Z")

</div>

This must be provided when you create the repository. It's not tight to a client anymore.

```auto
PUT _snapshot/my_s3_repository
{
  "type": "s3",
  "settings": {
    "bucket": "mybucket"
  }
}

```

---

<div class="post-metadata">

**Author:** ![haitham00n](https://avatars.discourse-cdn.com/v4/letter/h/59ef9b/32.png) [@haitham00n](https://discuss.elastic.co/u/haitham00n)\
**Post date:** [June 13, 2019, 11:33am UTC](https://discuss.elastic.co/t/problem-configuring-repository-s3-plugin/185607/3 "2019-06-13T11:33:42Z")

</div>

Thanks. Will go with this solution.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 11, 2019, 11:34am UTC](https://discuss.elastic.co/t/problem-configuring-repository-s3-plugin/185607/4 "2019-07-11T11:34:23Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
