keycloak-scim/docs/guides/getting-started/templates/realm-config.adoc
2023-03-03 10:08:05 +00:00

41 lines
1.3 KiB
Text

== Log in to the Admin Console
. Go to the {links-admin-console}.
. Log in with the username and password you created earlier.
== Create a realm
A realm in Keycloak is equivalent to a tenant. Each realm allows an administrator to create isolated groups of applications and users. Initially, Keycloak
includes a single realm, called `master`. Use this realm only for managing Keycloak and not for managing any applications.
Use these steps to create the first realm.
. Open the {links-admin-console}.
. Click the word *master* in the top-left corner, then click *Create realm*.
. Enter `myrealm` in the *Realm name* field.
. Click *Create*.
image::add-realm.png[Add realm]
== Create a user
Initially, the realm has no users. Use these steps to create a user:
. Open the {links-admin-console}.
. Click *Users* in the left-hand menu.
. Click *Create new user*.
. Fill in the form with the following values:
** *Username*: `myuser`
** *First name*: any first name
** *Last name*: any last name
. Click *Create*.
image::add-user.png[Create user]
This user needs a password to log in. To set the initial password:
. Click *Credentials* at the top of the page.
. Fill in the *Set password* form with a password.
. Toggle *Temporary* to *Off* so that the user does not need update this password at the first login.
image::set-password.png[Set password]