Files
community.general/lib/ansible/plugins/lookup
Marc Abramowitz e2e4a69425 hashi_vault: Get token from env var or file
This allows getting the Vault token from the `VAULT_TOKEN` env var or
from the file `$HOME/.vault-token`, as both of these are understood by
the Vault CLI and are a common place to put Vault tokens. This allows
avoiding hard-coding a Vault token into playbooks or having to include
lookups.

`HOME/.vault-token` is nice because a user can authenticate with the CLI
using `vault auth` and then the token will be stored in
`$HOME/.vault-token`. If we read this file, then we allow someone to do
`vault auth` "out of band" to set up Vault access.
2017-02-20 10:10:22 -05:00
..
2016-02-11 10:35:37 -05:00
2015-11-16 14:40:35 -08:00
2017-01-29 07:28:53 +00:00
2017-02-03 21:15:34 -08:00
2017-01-31 15:18:24 -08:00
2016-12-22 14:47:33 -08:00
2017-01-30 15:01:47 -08:00
2015-10-01 20:32:08 +05:30
2017-01-27 17:08:02 -08:00
2017-01-28 01:39:40 -08:00
2016-11-29 12:34:30 -05:00