Releases: DopplerHQ/python-doppler-env
Releases · DopplerHQ/python-doppler-env
Make logging configurable and disabled by default
Logging output is now disabled by default but can be enabled by setting the DOPPLER_ENV_LOGGING
environment variable:
export DOPPLER_ENV_LOGGING=1
Doppler API support and improved error reporting
This release adds improved error reporting in failure cases and supports using the Doppler API if the DOPPLER_TOKEN env var is set.
Improved error reporting
The Python path and current working directory are now output on failure, helping to debug scenarios where doppler-env
is working via the terminal but not when debugging through an IDE/editor.
-> python ~/Projects/python-test-app/app.py
DOPPLER_ENV environment variable set. Fetching secrets using Doppler CLI.
Unable to download secrets
Doppler Error: You must specify a project
Python path: /Users/chris/.virtualenvs/doppler/bin/python
Working directory: /Users/chris/Projects/mandalorian-gifs-python
Doppler API support
Secrets will be fetched directly from the Doppler API when the DOPPLER_TOKEN
environment variable is set. This allows for usage in environments without the Doppler CLI or when calling the Doppler CLI from Python is blocked by security policies.
export DOPPLER_TOKEN="dp.st.dev.XXXXXX"
-> python ~/Projects/python-test-app/app.py
DOPPLER_ENV and DOPPLER_TOKEN environment variable set. Fetching secrets from Doppler API.
Add support for Python 3.6
0.2.2 Changed supported Python version to >= 3.6
README updates
0.2.1 chore: README updates
README updates
0.2.0 README updates
0.1.1
Initial commit