From bb8b837ab9a473728d77540bf9e49ed9a167a086 Mon Sep 17 00:00:00 2001 From: Jason Felice Date: Mon, 30 Jan 2017 16:47:35 -0500 Subject: [PATCH] Document use of ~/.vault-token --- website/source/docs/providers/vault/index.html.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/website/source/docs/providers/vault/index.html.markdown b/website/source/docs/providers/vault/index.html.markdown index 09e670b64..cdf654949 100644 --- a/website/source/docs/providers/vault/index.html.markdown +++ b/website/source/docs/providers/vault/index.html.markdown @@ -84,6 +84,8 @@ variables in order to keep credential information out of the configuration. * `token` - (Required) Vault token that will be used by Terraform to authenticate. May be set via the `VAULT_TOKEN` environment variable. + If none is otherwise supplied, Terraform will attempt to read it from + `~/.vault-token` (where the vault command stores its current token). Terraform will issue itself a new token that is a child of the one given, with a short TTL to limit the exposure of any requested secrets.