You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default the doppler cli overrides environment variables found in system. You must pass --perserve-env flag to avoid the override. By default load_dotenv does not override environment variables so the behavior is reversed. I would think this would be consistent.
I am running into an issue where one of my variables setup in a doppler config is the same key name as one used by our end user computer team sets up on our workstations and I have no way of getting the up to date value from my doppler config.
Is it possible to have the same behavior as the cli and override by default by passing override=True to the load_dotenv call? And have the ability to control this behavior via environment variable?
Steps to Reproduce
Have a system environment variable key name same as one in doppler config
Up to date value will not be retrievable through os.getenv method when setting doppler_env=1
Expected Behavior
I expected to get the up to date value from doppler config, overriding the system environment variable of the same name
Screenshots
N/A
Additional Details
N/A
The text was updated successfully, but these errors were encountered:
Environment
Description
By default the doppler cli overrides environment variables found in system. You must pass --perserve-env flag to avoid the override. By default load_dotenv does not override environment variables so the behavior is reversed. I would think this would be consistent.
I am running into an issue where one of my variables setup in a doppler config is the same key name as one used by our end user computer team sets up on our workstations and I have no way of getting the up to date value from my doppler config.
Is it possible to have the same behavior as the cli and override by default by passing override=True to the load_dotenv call? And have the ability to control this behavior via environment variable?
Steps to Reproduce
Expected Behavior
I expected to get the up to date value from doppler config, overriding the system environment variable of the same name
Screenshots
N/A
Additional Details
N/A
The text was updated successfully, but these errors were encountered: