# Retrieve password from keystore key

**URL:** https://discuss.elastic.co/t/retrieve-password-from-keystore-key/237409
**Category:** Elastic Stack
**Tags:** elastic-stack-security
**Created:** [June 17, 2020, 7:16am UTC](https://discuss.elastic.co/t/retrieve-password-from-keystore-key/237409 "2020-06-17T07:16:54Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Bikash\_Swain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bikash_swain/32/69606_2.png) [@Bikash\_Swain](https://discuss.elastic.co/u/Bikash_Swain)
#### Post date: [June 17, 2020, 7:16am UTC](https://discuss.elastic.co/t/retrieve-password-from-keystore-key/237409/1 "2020-06-17T07:16:54Z")

</div>

We have different keystore keys for elasticsearch , logstash , kibana and filebeat and all the processes read passwords from their key. Is there a way to retrieve password from that key in linux prompt or through any APIs.

---

<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: [June 17, 2020, 8:09am UTC](https://discuss.elastic.co/t/retrieve-password-from-keystore-key/237409/2 "2020-06-17T08:09:04Z")

</div>

I can answer for the elasticsearch keystore, that you _cannot_ (by design) retrieve the value stored there outside of Elasticsearch.

---

<div class="post-metadata">

### Author: ![raja\_dey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/raja_dey/32/45300_2.png) [@raja\_dey](https://discuss.elastic.co/u/raja_dey)
#### Post date: [June 17, 2020, 1:42pm UTC](https://discuss.elastic.co/t/retrieve-password-from-keystore-key/237409/3 "2020-06-17T13:42:43Z")

</div>

Incase I forget the password , can I retrieve it from the keystore by any means .

---

<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: [November 4, 2022, 8:02am UTC](https://discuss.elastic.co/t/retrieve-password-from-keystore-key/237409/4 "2022-11-04T08:02:45Z")

</div>


