Skip to main content

Keycloak

Deployment details for the identity provider. Concept: Identity federation. Tasks: Your account.

MijnBureau supplies an installation of Keycloak. Keycloak is an Identity and Access Management system. You can choose to use this component or your existing identity provider, such as Microsoft Entra ID, Okta, Google Cloud Identity or OneLogin.

The bundled Helm-based deployment uses the codecentric/keycloakx chart with the official quay.io/keycloak/keycloak image. It does not require the Keycloak Operator. Realm/client/user configuration is applied by the upstream adorsys/keycloak-config-cli image through the in-repo keycloak-config-cli chart.

Configuration​

To configure this solution, you can override the default settings for your environment. The defaults are located in the folder helmfile/environments/default.

NameDescription
global.domainThe domain name of your MijnBureau instance
global.hostname.keycloakThe subdomain name
application.keycloak.enabledEnable keycloak
application.keycloak.namespaceThe Kubernetes namespace name
secret.keycloak.*Secrets for keycloak (admin user/password)
tls.keycloak.*The TLS settings
authentication.client.*The keycloak clients created
authentication.organization.*The demo organization seeded in the realm
authentication.oidc.*The MijnBureau OIDC settings
autoscaling.horizontal.keycloak.*Scaling settings
container.keycloak.*Container settings to overwrite
database.keycloak.*Database configuration
pvc.keycloak.*Storage configuration
resource.keycloak.*Resource configuration
user.*Created users. Used in demo environment only

The database (a CloudNativePG PostgreSQL cluster) is automatically created when running in the demo environment. For production you need to supply an external database via database.keycloak.*. Keycloak has no object store.

Multi-tenancy and federation​

The realm enables Keycloak organizations, which model tenants, e-mail domains, membership and per-tenant identity providers. See Multi-tenancy for the current setup and its limits, and Identity federation to connect an external identity provider such as Entra ID, Okta or a SAML SSO.

Your own Identity provider​

If you do not want to deploy keycloak but use your own disabled the application at application.keycloak.enabled and configure your own compatible OIDC provider in authentication.oidc.*. The requirements and caveats of that approach are described in Identity federation.