Keycloak administration
Keycloak administration and configuration can be done using the Keycloak command-line tool or using the browser and the Keycloak administration console:
- To access the administration console, open the following URL on your browser,
http://localhost:8081/
, and click Administration Console:

Figure 9.9 – Keycloak welcome page
- Enter the username and password for the administrator (
admin
/admin
in this example):

Figure 9.10 – Keycloak console login page
After deploying Keycloak for the first time, it needs to be configured before it can be used. The first recommended configuration is to define a realm. A realm is a separate namespace where you configure users, applications, roles, and groups. A user belongs to and logs in to a specific realm. One Keycloak deployment can define multiple realms.
- After login, in the top-left corner, click the Master realm name and then...