mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-03 03:58:01 +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"+
|
"The only step you need to take is to set the following\n"+
|
||||||
"environment variables:\n\n"+
|
"environment variables:\n\n"+
|
||||||
" export VAULT_ADDR='http://127.0.0.1:8200'\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"+
|
"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"+
|
"want to seal/unseal the Vault or play with authentication.\n\n"+
|
||||||
"Unseal Key: %s\nRoot Token: %s\n",
|
"Unseal Key: %s\nRoot Token: %s\n",
|
||||||
init.RootToken,
|
|
||||||
hex.EncodeToString(init.SecretShares[0]),
|
hex.EncodeToString(init.SecretShares[0]),
|
||||||
init.RootToken,
|
init.RootToken,
|
||||||
))
|
))
|
||||||
|
|||||||
Reference in New Issue
Block a user