# Is there a way to record ECE Passwords and Tokens more easily?

**URL:** <https://discuss.elastic.co/t/is-there-a-way-to-record-ece-passwords-and-tokens-more-easily/159649>\
**Category:** Elastic Cloud Enterprise (ECE)\
**Created:** [December 6, 2018, 4:06am UTC](https://discuss.elastic.co/t/is-there-a-way-to-record-ece-passwords-and-tokens-more-easily/159649 "2018-12-06T04:06:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ong](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ong/32/40766_2.png) [@Ong](https://discuss.elastic.co/u/Ong)\
**Post date:** [December 6, 2018, 4:06am UTC](https://discuss.elastic.co/t/is-there-a-way-to-record-ece-passwords-and-tokens-more-easily/159649/1 "2018-12-06T04:06:00Z")

</div>

When ECE completes installation, the screen will display passwords for admin, read-only users and for allocator, roles and emergency tokens.

These passwords are long and complex. Does ECE store these passwords anywhere or could the passwords be piped to a text file for easier retrieval?

---

<div class="post-metadata">

**Author:** ![Alex\_Piggott](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_piggott/32/11053_2.png) [@Alex\_Piggott](https://discuss.elastic.co/u/Alex_Piggott)\
**Post date:** [December 6, 2018, 1:55pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-record-ece-passwords-and-tokens-more-easily/159649/2 "2018-12-06T13:55:56Z")

</div>

All those passwords are stored in a JSON file - we recommend you remove this file from the disk and then store it in a secure vault:

> **[Installing Elastic Cloud Enterprise | Elastic Cloud Enterprise Reference \[3.6\]...](https://www.elastic.co/guide/en/cloud-enterprise/current/ece-installing.html)**

> These secrets are placed into the `/mnt/data/elastic/bootstrap-state/bootstrap-secrets.json` secrets file, unless you passed in a different path with the `--host-storage-path` parameter.

(note that you can set the `admin`/`readonly` passwords from the [CLI](https://www.elastic.co/guide/en/cloud-enterprise/current/ece-installation-script-reset.html), and it's also possible to add/remove tokens programmatically from the [API](https://www.elastic.co/guide/en/cloud-enterprise/current/Platform_-_Configuration_-_Security.html))

Alex

---

<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:** [December 20, 2018, 1:55pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-record-ece-passwords-and-tokens-more-easily/159649/3 "2018-12-20T13:55:57Z")

</div>

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