Keycloak Server Setup
Welcome to the Keycloak Helm Chart & Server Setup Documentation.
Table of Contents (Index)β
- 1. Quick Start: Admin Password Generation
- 2. Identity Provider (IdP) Integrations
- 3. Kubernetes Client & Cluster Integration
- 4. Realm, User & Authentication Management
- 5. Customization & Extensions
- 6. Operations, Disaster Recovery & Maintenance
1. Quick Start: Admin Password Generationβ
Generate Keycloak admin password (fallback user).
NOTE: Do not set the admin password from the WebUI; pass it via environment variable
KEYCLOAK_PASSWORD.
openssl rand -base64 14 > ./keycloak_password
# Sealed Secret approach
kubectl create secret generic keycloak-admin -n keycloak --dry-run=client --from-file=KEYCLOAK_PASSWORD=./keycloak_password -o json > mysecret.json
kubeseal --controller-name sealed-secrets --controller-namespace system < mysecret.json > keycloak-admin.json
Documentation Modules Overviewβ
Detailed step-by-step guides are organized into focused topics under the doc/ directory:
| Section | Topic | Description |
|---|---|---|
| π IdP Integrations | doc/idp-integrations.md | Integrating Google, Azure AD, and Keycloak-to-Keycloak identity brokering. |
| βΈοΈ Kubernetes Integration | doc/kubernetes-integration.md | oidc-login setup, kubeconfig configuration, and group-based Cluster RBAC. |
| π₯ Realm & User Management | doc/realm-user-management.md | Realm creation, user administration, YubiKey (WebAuthn) 2FA, and SMTP email setup. |
| π¨ Customization & Plugins | doc/customization-plugins.md | Custom UI login theme and Webhook event plugin configuration. |
| π οΈ Operations & Recovery | doc/operations-maintenance.md | Upgrade guide, realm export/import DR, Zalando-to-CNPG DB migration, & troubleshooting. |