[keycloak-user] Realm configuration under Version Control

Christian Schneider cschneiderpublic at gmail.com
Tue Aug 22 05:17:47 EDT 2017


Hi,
we wan't to have our Keycloak-Realm configuration under Version Control.
The goal is that every stage (Development, Integration, Testing and
Production) should have an own configuration file for the realm (without
users of course, they should stay over time). When we want to change
something, it should be done over the configuration file.

My initial Idea was to user the migration import and export parameters for
that.
First export the current configuration on every stage, commit it, and then
import it on startup. But the problem is, that the realm is first dropped
(including the users) and then imported. After that, all existing users are
removed :(.

What is your strategy to have the keycloak configuration under version
control? So that every change is transparent and documented?

Best Regards,
Christian.


More information about the keycloak-user mailing list