# Error verifyng S3 repository with client name different from "default"

**URL:** <https://discuss.elastic.co/t/error-verifyng-s3-repository-with-client-name-different-from-default/197340>\
**Category:** Elasticsearch\
**Created:** [August 29, 2019, 12:50pm UTC](https://discuss.elastic.co/t/error-verifyng-s3-repository-with-client-name-different-from-default/197340 "2019-08-29T12:50:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ale\_R](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ale_r/32/53292_2.png) [@Ale\_R](https://discuss.elastic.co/u/Ale_R)\
**Post date:** [August 29, 2019, 12:50pm UTC](https://discuss.elastic.co/t/error-verifyng-s3-repository-with-client-name-different-from-default/197340/1 "2019-08-29T12:50:38Z")

</div>

Hi all,  
while configuring an S3 repository on my **elasticsearch** cluster (version **7.2** ) I get error " **Unknown s3 client name [elk4cohe]. Existing client configs: default**"

_Note: I'm trying to use an on-prem S3 storage (cohesity) but I think it's not particulary relevant for this case._

Here's the code:

```
curl -XPUT "localhost:9200/_snapshot/cohe_repopoc01" -H 'Content-Type: application/json' -d'
{
  "type": "s3",
  "settings": {
    "bucket": "bucketelk01",
    "endpoint": "setcohclu2-bk862.sede.corp.sanpaoloimi.com:3000",
    "protocol" : "https",
    "client" : "elk4cohe"  
  }
}'

```

Indeed the cluster succedeed into create the bucket but just after that it try to verify it and failed. Final result is the error I reported at first.

I can also see the new repository from the GUI and generate the same error trying to verify it.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/7/b7d8e7f27bc3a57a9833a69844c18717639b62fb.png)

Thank you all for your attention  
Ale R

---

<div class="post-metadata">

**Author:** ![Ale\_R](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ale_r/32/53292_2.png) [@Ale\_R](https://discuss.elastic.co/u/Ale_R)\
**Post date:** [September 3, 2019, 12:36pm UTC](https://discuss.elastic.co/t/error-verifyng-s3-repository-with-client-name-different-from-default/197340/2 "2019-09-03T12:36:07Z")

</div>

.up.

---

<div class="post-metadata">

**Author:** ![Ale\_R](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ale_r/32/53292_2.png) [@Ale\_R](https://discuss.elastic.co/u/Ale_R)\
**Post date:** [September 9, 2019, 7:40am UTC](https://discuss.elastic.co/t/error-verifyng-s3-repository-with-client-name-different-from-default/197340/3 "2019-09-09T07:40:27Z")

</div>

> [@Ale\_R](#):
>
> .up.

Has no one ever experienced such a problem?

---

<div class="post-metadata">

**Author:** ![Ale\_R](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ale_r/32/53292_2.png) [@Ale\_R](https://discuss.elastic.co/u/Ale_R)\
**Post date:** [September 25, 2019, 10:10am UTC](https://discuss.elastic.co/t/error-verifyng-s3-repository-with-client-name-different-from-default/197340/4 "2019-09-25T10:10:58Z")

</div>

.up.

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [September 25, 2019, 11:01am UTC](https://discuss.elastic.co/t/error-verifyng-s3-repository-with-client-name-different-from-default/197340/5 "2019-09-25T11:01:08Z")

</div>

Have you defined a client called `elk4cohe`? I.e. have you set any [client settings](https://www.elastic.co/guide/en/elasticsearch/plugins/7.3/repository-s3-client.html)? Things like these:

```auto
s3.client.elk4cohe.endpoint (in elasticsearch.yml)
s3.client.elk4cohe.access_key (in the keystore)
s3.client.elk4cohe.secret_key (in the keystore)

```

It's not very easy to help when you have only shared a cropped screenshot of the response. It's always useful to see the whole response, and screenshots are difficult for some of us to read (e.g. if using a screenreader).

---

<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:** [October 23, 2019, 11:01am UTC](https://discuss.elastic.co/t/error-verifyng-s3-repository-with-client-name-different-from-default/197340/6 "2019-10-23T11:01:10Z")

</div>

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