Retrieve the Password for the root User

The generated password for the root user is provided when you install Elastic Cloud Enterprise on the first host and is used to log into the Cloud UI. If you ever need to retrieve the generated password after installation, follow the instructions in this section.

The password is retrieved from the initial coordinator node. The password is the value of the adminconsole_root_password key in the bootstrap-state/bootstrap-secrets.json file. This file is located in the host storage root volume path directory (/mnt/data, if you did not change the default).

  1. Use a JSON parsing tool such as jq to retrieve the password:

    jq -r '.adminconsole_root_password' /mnt/data/elastic/bootstrap-state/bootstrap-secrets.json
Caution

Changing the generated password for the root user that you use to log into the Cloud UI is not supported.