mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
Merge pull request #270 from sheldonh/no_export_vault_token
Don't recommend exporting VAULT_TOKEN
This commit is contained in:
@@ -155,11 +155,9 @@ func (c *ServerCommand) Run(args []string) int {
|
||||
"The only step you need to take is to set the following\n"+
|
||||
"environment variables:\n\n"+
|
||||
" export VAULT_ADDR='http://127.0.0.1:8200'\n"+
|
||||
" export VAULT_TOKEN='%s'\n\n"+
|
||||
"The unseal key and root token are reproduced below in case you\n"+
|
||||
"want to seal/unseal the Vault or play with authentication.\n\n"+
|
||||
"Unseal Key: %s\nRoot Token: %s\n",
|
||||
init.RootToken,
|
||||
hex.EncodeToString(init.SecretShares[0]),
|
||||
init.RootToken,
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user