Access the Keycloak admin console
Manage identity in Unity Virtual Private Cloud from Keycloak
Read time 1 minuteLast updated 2 days ago
About Keycloak
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
Access Keycloak from Amazon Web Services (AWS)
To access the Keycloak admin console from a browser, enter a URL in this format:The default user is admin. To retrieve the password, run this command:https://<domain_name>/auth/admin/master/console/
When you sign in for the first time, change the default admin credentials.kubectl get -n asset-solutions secret keycloak -o jsonpath="{.data.admin-password}" | base64 --decode
Access Keycloak from Microsoft Azure
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.
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.