Set up the identity subsystem
Set up the identity subsystem, based on Keycloak
Read time 1 minuteLast updated a day ago
Unity Virtual Private Cloud includes an identity provider and broker component based on Keycloak. Keycloak includes these major capabilities:
- Authentication and authorization
- Storage of information about users and service accounts keys
1. Access Keycloak
In Keycloak, the predefined unity realm stores all the settings and objects that are related to Virtual Private Cloud. When you open the Keycloak admin console, switch to the unity realm.Access the admin console
To access the Keycloak admin console from a browser, enter a URL in the following format:Replacehttps://<SolutionFQDN>/auth/admin
<SolutionFQDN>Retrieve initial admin password
The initial administrator username isadminkc-admin-password- Grant the Key Vault Administrator role to themselves, because the Owner role doesn't provide access to the Key Vault data plane
- Temporarily allow access to the key vault over the internet By default, public access for this key vault is made unavailable. The recommended practice is to restrict this access to the IPs of specific administrators, in the key vault firewall settings, and, if possible, permanently.
Manage administrative access
Optionally, in the master realm, perform these actions:-
Change the password for the user. The recommended practice is to keep the password up-to-date in the key vault.
admin - Add the administrative users, as personal accounts for specific solution administrators.
2. Change the default admin credentials
The keycloak admin credentials are static and aren't tied to any identity provider. When you sign in for the first time, change the default admin credentials:- In the Keycloak admin console, switch to the default realm, that is, the master realm.
- Go to Users, and then select the user.
admin - On the Credentials tab, select Reset password.
- Enter a new password.
- Turn off Temporary.
- Record the credentials somewhere secure.
3. Perform administration tasks
Perform these steps to finalize solution configuration:- Complete the initial solution onboarding.
- If required, set up single sign-on (SSO) for the identity subsystem.
- If you don't use SSO, then create users in Keycloak.
- Grant user access to the organization.
- Optionally, configure monitoring integration in parallel or later.