# Elasticsearch 7.5.1 does not have elasticsearch-keystore command

**URL:** <https://discuss.elastic.co/t/elasticsearch-7-5-1-does-not-have-elasticsearch-keystore-command/224909>\
**Category:** Elasticsearch\
**Created:** [March 24, 2020, 7:18pm UTC](https://discuss.elastic.co/t/elasticsearch-7-5-1-does-not-have-elasticsearch-keystore-command/224909 "2020-03-24T19:18:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yanislav\_Shetrev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yanislav_shetrev/32/54691_2.png) [@Yanislav\_Shetrev](https://discuss.elastic.co/u/Yanislav_Shetrev)\
**Post date:** [March 24, 2020, 7:18pm UTC](https://discuss.elastic.co/t/elasticsearch-7-5-1-does-not-have-elasticsearch-keystore-command/224909/1 "2020-03-24T19:18:07Z")

</div>

Hello,

I have recently upgraded form elasticsearch 6.5.2 to 7.5.1 and when trying to add secrets to the keystore via `bin/elasticsearch-keystore add` I get the error message that the command was not found. There is no binary elasticsearch-keystore in the bin directory of that VM.

Are we supposed to install an additional plugin to support this?

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [March 24, 2020, 8:19pm UTC](https://discuss.elastic.co/t/elasticsearch-7-5-1-does-not-have-elasticsearch-keystore-command/224909/2 "2020-03-24T20:19:59Z")

</div>

Have you by any chance installed the OSS distribution instead of the default one?

---

<div class="post-metadata">

**Author:** ![Yanislav\_Shetrev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yanislav_shetrev/32/54691_2.png) [@Yanislav\_Shetrev](https://discuss.elastic.co/u/Yanislav_Shetrev)\
**Post date:** [March 25, 2020, 2:29pm UTC](https://discuss.elastic.co/t/elasticsearch-7-5-1-does-not-have-elasticsearch-keystore-command/224909/3 "2020-03-25T14:29:15Z")

</div>

I just installed the default one by `apt-get install elasticsearch=7.5.1`

And I found the binary in /usr/share/elasticsearch  
`/usr/share/elasticsearch/bin/elasticsearch-keystore` . I was having the wrong impression that it will be under the root bin directory.

---

<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:** [April 22, 2020, 2:29pm UTC](https://discuss.elastic.co/t/elasticsearch-7-5-1-does-not-have-elasticsearch-keystore-command/224909/4 "2020-04-22T14:29:22Z")

</div>

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