Hello,
You could lookup the appropriate keycloak.json file with a custom
org.keycloak.adapters.KeycloakConfigResolver
c.f. based on a system property or env. variable.
See PathBasedKeycloakConfigResolver.java in the multi-tenant example.
https://github.com/keycloak/keycloak/tree/master/examples/multi-tenant
Cheers,
Thomas
2015-12-09 11:47 GMT+01:00 Anunay Sinha <anunay.sinha(a)arvindinternet.com>:
Hi
I need help to figure out how to manage my kecloak.json files in between
different environments. Since I have a keycloak server deployed on my dev,
qa and preprod, and am using jenkins for CI.
Now what i don't know is how this keycloak.json gets loaded.
If I knew that, I can have something like keycloak_dev.json,
keycloak_qa.json and kecloak_preprod.json, picking up the correct config
file as per my environment.
Is my understanding and approach is correct. If so can you help me how I
can get these respect jsons loaded.
--
- Anunay
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user