[keycloak-user] Guidelines for deployment of keycloak based applications for different environments

Thomas Darimont thomas.darimont at googlemail.com
Wed Dec 9 06:15:42 EST 2015


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 at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20151209/d37a4e77/attachment.html 


More information about the keycloak-user mailing list