Skip to content
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

option to exclude env_vars #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

codekitchen
Copy link

We have a handful of sensitive environment variables in each of our apps
(12-factor apps) and we feel it'd be best to just exclude the
environment completely.

In theory this could be done by overriding value_filter with something like:

def self.value_filter(value)
  ENV.values.include?(value) ? nil : value
end

but this seems a lot more straightforward. Thanks!

We have a handful of sensitive environment variables in each of our apps
(12-factor apps) and we feel it'd be best to just exclude the
environment completely.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant