During installation, the secrets used by the system for security are generated, which includes passwords for the
readonly administration console users that you use to log into the Cloud UI. As part of our installation instructions, we recommend that you keep this information secure, but these passwords can also be reset later on.
The passwords for these users are stored in
/mnt/data/elastic/bootstrap-state/bootstrap-secrets.json along with other secrets (unless you specified a different host storage path).
You might need to reset the Cloud UI passwords for one of the following reasons:
To change the passwords for the
readonlyusers after installing Elastic Cloud Enterprise or periodically as part of your standard operating procedures.
- To reset passwords if you think they might have become compromised.
To reset the password for the user
root on the administration console based on the secrets in
bash elastic-cloud-enterprise.sh reset-adminconsole-password --user root
To reset the password for the
root user if no secrets file exists:
bash elastic-cloud-enterprise.sh reset-adminconsole-password
For additional usage examples, see
elastic-cloud-enterprise.sh reset-adminconsole-password Reference.