We have two separated instances of Keycloak running, one for development and one with production data.
Since we need to import all the authorization service configuration from Dev into Prod and this can be tedious process, I was wondering if you any experience or advice on how to automate this process.
Wow! The visualization tool is awesome. I’m definitely going to use this. Is it open source?
It’s possible to get the export programmatically from GET https://<host>/auth/admin/realms/<realm>/clients/<client_id>/authz/resource-server/settings, but I haven’t tried to import it to another realm.
I’ve tried having a central repository that builds a Keycloak image with a realm.json and that can be pulled into multiple deployments but I had no success when Keycloak connects to a database (it just ignores the base configurations that comes with the image and resets all realms to the standard master).