User management in Keycloak
The ML platform uses Keycloak for authorization in internal applications and user management.
Keycloak implements an SSO (Single Sign-On) mechanism: after successful authorization in one application, you are automatically logged in to the others, so you do not need to enter your username and password again.
Login credentials for the ML platform
When ordering an ML platform, a user with the username Admin is created in the CMLP realm. A realm is an area for managing users, credentials, roles, and groups.
The Admin user belongs to the Security Administrator group — they have access to the Security Admin Console and can create users, set passwords for them, and configure roles and groups.
To log in to the Security Admin Console, use the one-time password provided after ordering the ML platform. The password must be changed when logging in to the platform for the first time.
Create a user
-
Open the ML platform at
https://<ml_platform_domain>.Specify
<ml_platform_domain>— a URL such ashttp://yourdomain.mlops.selcloud.ruthat was provided after connecting the ML platform. -
Enter the username and password of the security administrator.
-
Open the Security Admin Console application.
-
Go to Manage → Users.
-
Click Add user.
-
In the Username field, enter a username.
-
In the Email field, enter an email address — it is required for access to certain applications, such as Grafana.
-
Optional: add the user to a group. If no group is specified, they will be added to the Viewer group by default.
Keycloak has several user groups:
- Security Administrator — has access to the Security Admin Console and can create users, configure user groups, and manage access. By default, the
Adminuser is created in the ML platform; - Administrator — can configure internal services (e.g., Grafana);
- Editor — can change individual parameters (e.g., dashboards in Grafana, pipelines in ClearML);
- Viewer — read-only access.
- Security Administrator — has access to the Security Admin Console and can create users, configure user groups, and manage access. By default, the
-
Click Save.
-
Optional: set a password for the user.
Set a password for a user
You can set a password for created users.
-
Open the ML platform at
https://<ml_platform_domain>.Specify
<ml_platform_domain>— a URL such ashttp://yourdomain.mlops.selcloud.ruthat was provided after connecting the ML platform. -
Enter the username and password of the security administrator.
-
Open the Security Admin Console application.
-
Go to Manage → Users.
-
Click View all users.
-
Open the user page → Credentials tab.
-
In the Password field, enter a password.
-
Optional: to configure password change upon first login, turn on the Temporary toggle switch.
-
Click Set Password.