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


(Ong) #1

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?


(Alex Piggott) #2

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:

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, and it's also possible to add/remove tokens programmatically from the API)

Alex