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

Add -dev-no-store-token to vault server command #7104

Merged
merged 2 commits into from
Jul 24, 2019

Conversation

jsok
Copy link
Contributor

@jsok jsok commented Jul 11, 2019

When starting a vault dev server the token helper is invoked to store
the dev root token.
This option gives the user the ability to not store the token.

Storing the token can be undesirable in certain circumstances
(e.g. running local tests) as the user's existing vault token is
clobbered without warning.

Fixes #1861

@hashicorp-cla
Copy link

hashicorp-cla commented Jul 11, 2019

CLA assistant check
All committers have signed the CLA.

When starting a vault dev server the token helper is invoked to store
the dev root token.
This option gives the user the ability to not store the token.

Storing the token can be undesirable in certain circumstances
(e.g.  running local tests) as the user's existing vault token is
clobbered without warning.

Fixes hashicorp#1861
@jsok jsok changed the title Add -dev-no-store-toekn to vault server command Add -dev-no-store-token to vault server command Jul 11, 2019
jefferai
jefferai previously approved these changes Jul 24, 2019
@jefferai jefferai added this to the 1.2 milestone Jul 24, 2019
@jefferai jefferai merged commit fb8ce19 into hashicorp:master Jul 24, 2019
@jsok
Copy link
Contributor Author

jsok commented Jul 24, 2019

Thanks @jefferai !

@jsok jsok deleted the dev-server-no-store branch July 24, 2019 22:15
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.

Vault in dev mode clobbers the .vault-token file
3 participants