[keycloak-dev] Sync configuration of realm to configuration file

Stian Thorgersen stian at redhat.com
Fri Sep 20 07:50:44 EDT 2013


Would it be a nice feature to be able to sync configuration of a realm to a configuration file?

The idea would be that OOTB Keycloak comes bundled with two files "keycloak-config-saas.json" and "keycloak-config-default.json". These would contain the initial config for the Realm used by Keycloak itself (users that can create realms, apps, etc..) and a default Realm that can be used by applications. There could be an option on a realm to enable syncing configuration changes to a file. If this is enabled any configuration changes would be written to "keycloak-config-<realm name>.json", and at startup the config in the db would be updated based on the config file. We could also add a watch the config files for updates, and sync into db at runtime as well.


More information about the keycloak-dev mailing list