Create a User

Info

This guide is intended for Realm Owners who are responsible for managing user access within Projects. It provides instructions on how to create Keycloak users and assign them the appropriate roles.

Accessing Keycloak

Info

During the onboarding process OSC creates one or more users specified by the customer — the Realm owners. These users will be granted with rights to create and manage additional customer users and groups via Keycloak Security Admin Console.

Create a user in Keycloak

First, you will need to create a user account in Keycloak.

Login to Keycloak

Customer-Realm-Management-Console-login

To manage users navigate to Users in left-side menu.

Customer-Realm-Management-Console-overview

Tip

We recommend to setup requiered user actions

Required-User-Actions.png

  • the Configure OTP - to enforce one-time verification codes.
  • the Verify Email - to verify email on the first loign.

Enter the user's information:

Customer-Realm-Management-Console-Create-User.png

  • the Username.
  • the Email - must be a valid email address. Keycloak will send you a verification link.
  • the First name.
  • the Last name.

To assign the user to groups, press the Join Groups button.

For the administrator account, add the role customer-name:gardener:admin.

To create a user, click on the Create button.

Customer-Realm-Management-Console-Create-User.png

The following shows the created user:

Customer-Realm-Management-Console-Create-User-Example.png

Assign a user the admin role within the corresponding project

To designate a user as a Project administrator, assign the admin role to the user within the relevant project in the OSC Dashboard.

Log in to the OSC Dashboard, navigate to a project and then click the members option in the top navigation bar.

You will be redirected to the members administration section. All users are displayed with their Project assignment and respective roles.

Dashboard-members-section

Click on the plus + icon in the respective section to add a new user to the project.

Dashboard-add-users-sa

Enter the username in the format oidc:user-name and assign the appropriate roles.

In this example it is an Admin role.

Dashboard-manage-users-sa

After selecting the appropriate roles, click add to include the user in the project.

In this example, the user will be added as an Admin.

Dashboard-add-users-to-projcet