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

Fix reading vault token from ENV #63

Merged
merged 2 commits into from
Apr 20, 2021
Merged

Fix reading vault token from ENV #63

merged 2 commits into from
Apr 20, 2021

Conversation

SasSwart
Copy link
Contributor

Allow vault token to be read from ENV, and extract token reading logic into separate function for readability.

Previously, you could ask for Vault to be ignored by setting an ENV, but you could not specify a token to be used in the ENV. This conflicted with the documentation, which states:

`token`: The token to authenticate with Vault, also read as `ENV["VAULT_TOKEN"]`

…c into separate function for readability

Previously, you could ask for Vault to be ignored by setting an ENV, but you could not specify a token to be used in the ENV. This conflicted with the documentation.
@petems
Copy link
Owner

petems commented Apr 20, 2021

LGTM! 👍🏻

@petems petems merged commit 4376028 into petems:master Apr 20, 2021
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.

None yet

2 participants