Is system environment variable allowed in keycloak realm.json?

Viewed 2202

I'm using Keycloak to manage authentification of my app.

And using docker to build my keycloak image for both Dev and Prod environment.

Every time I build my docker image I import a new realm.json file and I have to modify manually the configuration to work with the corresponding environment ("Dev" & "Prod").

The idea is simply to use **system environment variable ** in the realm.json. I have tried to use {MY_ENV_VARIABLE} and {env.MY_ENV_VARIABLE} but nothing seem to work.

1 Answers
Related