From 27d50aab8440ad9175c56d7d877164bf69b7c5b3 Mon Sep 17 00:00:00 2001 From: Thomas Darimont Date: Mon, 11 Jul 2016 22:23:26 +0200 Subject: [PATCH] Document usage of environment variables in Keycloak.json Fixed #26 --- topics/oidc/java/java-adapter-config.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/topics/oidc/java/java-adapter-config.adoc b/topics/oidc/java/java-adapter-config.adoc index b371d7d966..e2c0e6489f 100644 --- a/topics/oidc/java/java-adapter-config.adoc +++ b/topics/oidc/java/java-adapter-config.adoc @@ -37,6 +37,7 @@ This is what one might look like: ---- You can use `${...}` enclosure for system property replacement. For example `${jboss.server.config.dir}` would be replaced by `/path/to/{{book.project.name}}`. +Replacement of environment variables is also supported via the `env` prefix, e.g. `${env.MY_ENVIRONMENT_VARIABLE}`. The initial config file can be obtained from the the admin console. This can be done by opening the admin console, select `Clients` from the menu and clicking on the corresponding client. Once the page for the client is opened click on the `Installation` tab and select `Keycloak OIDC JSON`.