Allow to load secrets like database password or TMDB API keys from file.
[x] I have checked the existing issues to avoid duplicates
[x] I have redacted any info hashes and content metadata from any logs or screenshots attached to this issue
Is your feature request related to a problem? Please describe
Passing secrets using environment variables is discouraged and storing secrets in config files could be problematic when used in config management systems. Allowing to load secrets from files would allow secret management during deployment or use systemd credential services.
Describe the solution you'd like
Add additional configuration properties to load secrets from file.
Describe alternatives you've considered
Loading the secrets into environment variables in service pre-start.
Allow to load secrets like database password or TMDB API keys from file.
Is your feature request related to a problem? Please describe
Passing secrets using environment variables is discouraged and storing secrets in config files could be problematic when used in config management systems. Allowing to load secrets from files would allow secret management during deployment or use systemd credential services.
Describe the solution you'd like
Add additional configuration properties to load secrets from file.
Describe alternatives you've considered
Loading the secrets into environment variables in service pre-start.
Additional context
I'm building a nixos module for bitmagnet