Keycloak Demo Server
Keycloack (security) - Integrated SSO and IDM for browser apps and RESTful services, this is a modified version of the fabric8io Keycloak which is can used for quick demo setups.
Overview
This project provisions Keycloak server with name keycloak-demo-server on kubernetes using
fabric8-maven-plugin with JBoss Keycloak as base image. As part of the provisioning all resources realm
resources from ${project.basedir}/src/main/resources
are imported in to Keycloak. Refer to
Keycloak Import/Export for more details on how the
Import/Export works with Keycloak.
Configuring Admin User
The Admin user for KeyCloak is defined using the ConfigMap, the values
from the configmap ${project.basedir}/src/main/fabric8/configmap.yml
are added as Envionment variables
in the Kubernetes Deployment Config ${project.basedir}/src/main/fabric8/deployment.yml
.
There two configurable environment variables that are defined by JBoss Keycloak
-
KEYCLOAK_USER - the admin user for Keycloak
-
KEYCLOAK_PASSWORD - the admin user password for Keycloak
Keycloak Realm Resources
The project has two Keycloak resources,
-
springboot-realm.json - the Keycloak realm named springboot and springboot-local exported form existing Keycloak server
-
springboot-users-0.json - the demo users who are part of the realm
User | Password |
---|---|
springboot |
password |
tom |
password |
jerry |
password |
mickey |
password |
donald |
password |