Feature request · Self-hosting & upgrades · Annoyance
Read secrets such as DB password from files
1 source thread · first seen 2022-03
Summary
Requests _FILE-style environment variables so Keycloak containers can read secrets from mounted files, as the Postgres image does.
- Affects
- Container and Docker secrets users
- Workaround
- Custom entrypoint that reads KC_*_FILE files and exports KC_* variables.
Evidence
Excerpts are copied word for word from the source; follow the link to read it in full.
“it would be useful to support a file-based solution in addition to the plain environment variables”