Working with Keycloak

Overview

Answers a frequently asked question about Keycloak.

How to get Keycloak Admin Password

When Kublr setsup Kublr Platform, it automatically generates a password for the admin user. This password is saved as a Kubernetes secret, so that the Kublr Administrator can use it log in to the Keycloak Console.

Pre-requisites

You need the following executables available in your path:

  1. kubectl
  2. base64

Getting the Password

On Linux:

echo $(kubectl get secret -n kublr kcp-keycloak-master -o jsonpath='{.data.keycloakPass}' | base64 -d)

On macOS:

echo $(kubectl get secret -n kublr kcp-keycloak-master -o jsonpath='{.data.keycloakPass}' | base64 -D)

The link to Keycloak is available on System Cluster Overview page

Additional information

  1. Keycloak Documentation