Creating a User in Keycloak
In Keycloak, a user represents an individual entity that can authenticate and interact with the Keycloak server. Users can be individuals who need to access applications or services secured by Keycloak or administrators who manage the Keycloak realm and its configurations.
Step 1: In the Users page, click on Add user button.
Step 2: On the next page provide the required details of a User and click on Create button.
Step 3: Now we need to set a password for the user. Click the Credentials tab and press the Set password button.
Step 4: Now we need to set a role for the user. Click the Role mapping tab and press Assign role.
Now the Realm roles list will be available in the table. Check the required role and click Assign to map it to the respective user.
And you are done with creating a User.
Keycloak – Create Realm, Client, Roles, and User
Keycloak is Open Source Identity and Access Management (IAM) tool developed by Red Hat. By using this you can add authentication to applications and secure services with minimum effort. No need to deal with storing users or authenticating users. Keycloak provides user federation, strong authentication, user management, fine-grained authorization, and more.
Note: To install Keyclok on your machine refer to this article What is Keycloak and How to Install It?
In this article, we will see how to Create a Realm, Client, and User in Keycloak.