# Reset elasticsearch password

**URL:** <https://discuss.elastic.co/t/reset-elasticsearch-password/214281>\
**Category:** Elasticsearch\
**Created:** [January 8, 2020, 4:59pm UTC](https://discuss.elastic.co/t/reset-elasticsearch-password/214281 "2020-01-08T16:59:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![talsantos](https://avatars.discourse-cdn.com/v4/letter/t/6a8cbe/32.png) [@talsantos](https://discuss.elastic.co/u/talsantos)\
**Post date:** [January 8, 2020, 4:59pm UTC](https://discuss.elastic.co/t/reset-elasticsearch-password/214281/1 "2020-01-08T16:59:02Z")

</div>

Hi,

I need to reset the password of elasticsearch because I don't know it. And the person who know it, doesn´t work at the company anymore.  
How can I reset the password?

Thank you.  
Tânia

---

<div class="post-metadata">

**Author:** ![balogan](https://avatars.discourse-cdn.com/v4/letter/b/b5e925/32.png) [@balogan](https://discuss.elastic.co/u/balogan)\
**Post date:** [January 10, 2020, 3:59pm UTC](https://discuss.elastic.co/t/reset-elasticsearch-password/214281/2 "2020-01-10T15:59:01Z")

</div>

Here's how you can retrieve it in ECE 2.4.3. Should be something similar for Elastic Stack as well, but I've never used it so I don't know for sure.

cat /mnt/data/elastic/allocator-ip/services/allocator/managed/elasticsearch/endpoint/instance-xxxxxxx/cluster\_data.json

---

<div class="post-metadata">

**Author:** ![ikakavas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ikakavas/32/34430_2.png) [@ikakavas](https://discuss.elastic.co/u/ikakavas)\
**Post date:** [January 14, 2020, 5:53am UTC](https://discuss.elastic.co/t/reset-elasticsearch-password/214281/3 "2020-01-14T05:53:05Z")

</div>

See [this answer](https://discuss.elastic.co/t/x-pack-authentication-issue/121632/7) @talsantos

---

<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:** [February 11, 2020, 5:53am UTC](https://discuss.elastic.co/t/reset-elasticsearch-password/214281/4 "2020-02-11T05:53:25Z")

</div>

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