# Elasticsearch Keystore creation for curator snapshot

**URL:** <https://discuss.elastic.co/t/elasticsearch-keystore-creation-for-curator-snapshot/190759>\
**Category:** Elasticsearch\
**Tags:** curator\
**Created:** [July 16, 2019, 2:38pm UTC](https://discuss.elastic.co/t/elasticsearch-keystore-creation-for-curator-snapshot/190759 "2019-07-16T14:38:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jayabal\_K](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jayabal_k/32/41905_2.png) [@Jayabal\_K](https://discuss.elastic.co/u/Jayabal_K)\
**Post date:** [July 16, 2019, 2:38pm UTC](https://discuss.elastic.co/t/elasticsearch-keystore-creation-for-curator-snapshot/190759/1 "2019-07-16T14:38:54Z")

</div>

I have multi node elastic-search cluster (1 master, 5 datanode), I need to take snapshot of indices and store in gcs bucket. As per the documentation, we need to add client service key into the elasticsearch-keystore (bin/elasticsearch-keystore add-file gcs.client.credential-file ./service-key.json)

Do we need to add this keystore into elastic keystore for all the master and datanode?  
I added the keystore in one datanode and tried to take snapshot, but it throwing error.  
Please advice do we need to add this key in all the elastic nodes?

---

<div class="post-metadata">

**Author:** ![Jayabal\_K](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jayabal_k/32/41905_2.png) [@Jayabal\_K](https://discuss.elastic.co/u/Jayabal_K)\
**Post date:** [July 17, 2019, 7:32am UTC](https://discuss.elastic.co/t/elasticsearch-keystore-creation-for-curator-snapshot/190759/2 "2019-07-17T07:32:34Z")

</div>

any help?

---

<div class="post-metadata">

**Author:** ![forloop](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/forloop/32/9021_2.png) [@forloop](https://discuss.elastic.co/u/forloop)\
**Post date:** [July 17, 2019, 2:01pm UTC](https://discuss.elastic.co/t/elasticsearch-keystore-creation-for-curator-snapshot/190759/3 "2019-07-17T14:01:55Z")

</div>

> [@Jayabal\_K](#):
>
> Please advice do we need to add this key in all the elastic nodes?

Yes, you need to add an entry to the keystore on each node

---

<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:** [August 14, 2019, 2:01pm UTC](https://discuss.elastic.co/t/elasticsearch-keystore-creation-for-curator-snapshot/190759/4 "2019-08-14T14:01:57Z")

</div>

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