# How keystore works

**URL:** <https://discuss.elastic.co/t/how-keystore-works/312274>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [August 17, 2022, 11:48am UTC](https://discuss.elastic.co/t/how-keystore-works/312274 "2022-08-17T11:48:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GustavoPires](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GustavoPires](https://discuss.elastic.co/u/GustavoPires)\
**Post date:** [August 17, 2022, 11:48am UTC](https://discuss.elastic.co/t/how-keystore-works/312274/1 "2022-08-17T11:48:06Z")

</div>

Hello, can someone explain me what is the purpose of the keystore and how can I configure it?

---

<div class="post-metadata">

**Author:** ![Yang\_Wang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yang_wang/32/48857_2.png) [@Yang\_Wang](https://discuss.elastic.co/u/Yang_Wang)\
**Post date:** [August 18, 2022, 3:59am UTC](https://discuss.elastic.co/t/how-keystore-works/312274/2 "2022-08-18T03:59:31Z")

</div>

Which keystore? Elasticsearch keystore or TLS keystore?

Assuming you mean Elasticsearch keystore. It is used to store [secure settings](https://www.elastic.co/guide/en/elasticsearch/reference/current/secure-settings.html). You can refer to this [doc page](https://www.elastic.co/guide/en/elasticsearch/reference/current/elasticsearch-keystore.html) for how to interact with it using the CLI tool.

---

<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:** [September 15, 2022, 3:59am UTC](https://discuss.elastic.co/t/how-keystore-works/312274/3 "2022-09-15T03:59:50Z")

</div>

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