-
Notifications
You must be signed in to change notification settings - Fork 967
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to unset a key using environment variables? #582
Comments
Set it to an empty string? |
TL;DR not really. The tricky thing about env vars is that they always contain strings, which means "VAR=null" comes through as the string "null" rather than a null value. No great solution to this... env vars only go so far. A more flexible solution in the long run can be to use env vars to specify a There was some discussion on an issue I can't find of allowing JSON/HOCON to appear in env vars somehow... I don't remember exactly what that idea was but I think maybe it was a certain env var like |
If I have a key with a default value set but I want to be able to unset in case I have a given
ENV
variable present. Is there a way to do it ?The text was updated successfully, but these errors were encountered: