Reset user passwords

edit

During installation, the secrets used by the system for security are generated, which includes passwords for the admin and 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 admin and readonly users 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 admim on the administration console based on the secrets in /mnt/data/elastic/bootstrap-state/bootstrap-secrets.json:

bash elastic-cloud-enterprise.sh reset-adminconsole-password --user admin

To reset the password for the admin 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.