# Where is the password stored?

**URL:** <https://discuss.elastic.co/t/where-is-the-password-stored/260402>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [January 7, 2021, 3:32am UTC](https://discuss.elastic.co/t/where-is-the-password-stored/260402 "2021-01-07T03:32:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![suntopo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/suntopo/32/81875_2.png) [@suntopo](https://discuss.elastic.co/u/suntopo)\
**Post date:** [January 7, 2021, 3:32am UTC](https://discuss.elastic.co/t/where-is-the-password-stored/260402/1 "2021-01-07T03:32:48Z")

</div>

as a root user, i could get all elasticsearch data files, but origin elasticsearch had password auth settings. Could i process the data file, remove the password relatived files and get the elasticsearch data without auth?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 7, 2021, 3:38am UTC](https://discuss.elastic.co/t/where-is-the-password-stored/260402/2 "2021-01-07T03:38:19Z")

</div>

Welcome to our community! 😃

Elasticsearch doesn't password the underlying data structures, the authentication is for API access.

**Theoretically** you might be login to the cluster hosts, copy the Elasticsearch data files themselves and then put them in another cluster and access the data. That's theoretical because you would probably run into corruption issues and it may not even work, so it's more of a gedankenexperiment.

---

<div class="post-metadata">

**Author:** ![suntopo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/suntopo/32/81875_2.png) [@suntopo](https://discuss.elastic.co/u/suntopo)\
**Post date:** [January 7, 2021, 3:49am UTC](https://discuss.elastic.co/t/where-is-the-password-stored/260402/3 "2021-01-07T03:49:17Z")

</div>

half year ago, i indexed 10B data into a cluster, and then i stop the cluster, redeploy four clusters the same as the origin one, and just copy the indexed data files to others without index again and angin. And all they work well till now.

---

<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 4, 2021, 3:49am UTC](https://discuss.elastic.co/t/where-is-the-password-stored/260402/4 "2021-02-04T03:49:28Z")

</div>

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