keycloak-scim/docs/guides/getting-started/templates/realm-config.adoc

42 lines
1.4 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 {project_name} is equivalent to a tenant. Each realm allows an administrator to create isolated groups of applications and users. Initially, {project_name}
includes a single realm, called `master`. Use this realm only for managing {project_name} 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 the word *master* in the top-left corner, then click *myrealm*.
. Click *Users* in the left-hand menu.
. Click *Add 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 to update this password at the first login.
image::set-password.png[Set password]