Currently one can define secrets in environment variables and use {{ getenv("MYSECRET") | js }}
to interpolate the value.
Some environments, for example systemd credentials, encourage passing secrets in files.
I would like to use {{ readFile(getenv("CREDENTIALS_DIRECTORY") + "/mysecret") | js }}
to interpolate the secret value into the configuration file.
Authelia has the secret
template function which could give inspiration.