From c2390f2a296f4bb1902a99d9fb08e9069a544a56 Mon Sep 17 00:00:00 2001 From: Sheldon Hearn Date: Thu, 28 May 2015 14:39:35 +0200 Subject: [PATCH] Don't recommend exporting VAULT_TOKEN It's not needed by the dev server (which writes ~/.vault-token), and breaks the Getting Started guide (e.g. #267). --- command/server.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/command/server.go b/command/server.go index 7047b79f42..8dc9932090 100644 --- a/command/server.go +++ b/command/server.go @@ -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, ))