Configuration for key_file and cert_file from ENV vars
See original GitHub issueHi
is there some posibility to set key_file
and cert_file
in settings from os.environ
instead of setting it to file path?
my application is running in docker container, so i need to set this keys from outside
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
KeyFile and CertFile are not presented · Issue #11102 - GitHub
bin/etcd --config-file=/etc/etcd/conf.yml {"level":"info" ... other configuration command line flags and environment variables will be ...
Read more >Configuration flags - etcd
Configuration flags. etcd is configurable through command-line flags and environment variables. Options set on the command line take ...
Read more >Settings — Gunicorn 20.1.0 documentation
Settings ¶. This is an exhaustive list of settings for Gunicorn. Some settings are only able to be set from a configuration file....
Read more >Configuration options - Jupyter Enterprise Gateway!
A configuration file; Command line parameters; Environment variables ... (KG_KEYFILE env var) --certfile=<Unicode> (KernelGatewayApp.certfile) Default: None ...
Read more >config | npm Docs
per-user configuration file (defaults to $HOME/.npmrc ; configurable via CLI option --userconfig or environment variable $NPM_CONFIG_USERCONFIG ); global ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
thank you @tyctor and @lgarvey now the documentation also cover this aspect
Another workaround would be https://docs.python.org/3/library/tempfile.html
In the settings create two temp files, then write content from env vars, then put tmpfile.name in the key/cert value