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

Consider add set function to ~/.vault-token #61

Open
ricardoleal opened this issue Jan 27, 2023 · 0 comments
Open

Consider add set function to ~/.vault-token #61

ricardoleal opened this issue Jan 27, 2023 · 0 comments

Comments

@ricardoleal
Copy link

This is OSx/Linux related ofc, but would be nice to have a function to populate the vault-token file without print them.

Linux and MacOSx uses ~/.vault-token to store in use token.

So it would be some thing like:

export VAULT_ADDR="https://vaultserver.local:8200"
vault-token-helper set

In the backend would make the same as https://github.com/joemiller/vault-token-helper/blob/main/cmd/get.go#L37 but write to the correct file in each operating system, or this could be defined at vault-token-helper.yaml

Thanks for this great helper.

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

No branches or pull requests

1 participant