Change Keycloak conf folder location

Hi,

We are trying to separate the binary files and configuration files of Keycloak to keep them in Program Files and ProgramData respectively. However, we are not able to see any option to change the location of the entire conf directory.
We have seen the option --config-file can be used to give a separate location for keycloak.conf file, but we are also using cache-ispn.xml and quarkus.properties file, both of which are in the conf folder, so we are interested in changing the location of the conf folder.

Any advice on how to do this would be appreciated.

1 Like