Change the Keycloak administrative password#

To change the administrative password, follow these steps:

  1. Open the Keycloak Admin Console at the following URL:

    http://keycloak.<hostname>.<domain_name>:<kc_port>/auth/
    
  2. On the Keycloak Admin Console welcome page, click Administration console.

  3. On the Keycloak Log in dialog, log in with Keycloak administrator credentials (admin/ admin by default).

  4. In the left panel, select the master realm.

    ../../_images/master_realm.png
  5. In the left panel, click Users to open the Users page.

    ../../_images/users_page.png
  6. In the User list, click the admin username to open the User details page.

    ../../_images/user_details_page.png
  7. On the User details page, click the Credentials tab.

    ../../_images/user_credentials.png
  8. Click Reset password.

  9. On the Reset Password for admin dialog, enter the new password in the New Password and New password confirmation fields.

    ../../_images/reset_password.png
  10. Turn off the Temporary switch.

  11. Click Save.

  12. On the Reset password? dialog, click Reset password.

    ../../_images/reset_dialog.png

    A confirmation message indicates that the password was reset successfully.

    ../../_images/reset_success.png
  13. Log out and then log back in with the new password.