For versions 5.0 and later: You might need to reset the password for the
elastic superuser if you cannot authenticate with the
elastic user ID and are effectively locked out from an Elasticsearch cluster or Kibana. For example, if your deployment never had an active Shield configuration and you upgraded to Elasticsearch 5.0 or if you were not provided the password during the upgrade process, you will likely need to reset the password.
To reset the password:
- Log in to the Elasticsearch Add-On for Heroku console.
On the deployments page, select your deployment.
Narrow your deployments by name, ID, or choose from several other filters. To customize your view, use a combination of filters, or change the format from a grid to a list.
- From your deployment menu, go to Security.
- Click Reset password.
Copy down the auto-generated a password for the
elastic user after resetting">
- Close the window.
The password is not accessible after you close the window, so if you lose it, you need to reset the password again.