[keycloak-user] Parameterizing keycloak.json?
Malte Finsterwalder
inofi at gmx.net
Fri Oct 6 12:13:34 EDT 2017
I'm sorry, I missed it in the Documentation:
"You can use ${…} enclosure for system property replacement. For
example ${jboss.server.config.dir} would be replaced by
/path/to/Keycloak. Replacement of environment variables is also
supported via the env prefix, e.g. ${env.MY_ENVIRONMENT_VARIABLE}."
RTFM! ;-)
On 06.10.2017 18:04, Malte Finsterwalder wrote:
> 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
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
More information about the keycloak-user
mailing list