[keycloak-user] Parameterizing keycloak.json?

Malte Finsterwalder inofi at gmx.net
Fri Oct 6 12:04:42 EDT 2017


Hi there,

I set up a web application to use Keycloak.
I added a keycloak.json file to configure the keycloak settings.
In this file there is the auth-server-url and a path to a truststore.
The keycloak.json file is packaged into the war file, of course.
But I need to deploy the same war file to different servers, that should
talk to different Keycloak-Servers.

Is there a way to parameterize information in the keycloak.json file? Or
can I configure overrides in a JBoss server?

I know that I could configure the keycloak settings completely in the
JBoss configuration, but I rather like the idea to have a config per app.

Greetings,
   Malte


More information about the keycloak-user mailing list