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
..
__init__.py
cartesian.py
consul_kv.py
credstash.py
csvfile.py
dict.py
dig.py PEP 8 indent cleanup. (#20800) 2017-01-29 07:28:53 +00:00
dnstxt.py
env.py
etcd.py
file.py
fileglob.py
filetree.py
first_found.py PEP 8 E111 & E114 cleanup. (#20838) 2017-01-30 15:01:47 -08:00
flattened.py
hashi_vault.py hashi_vault: Get token from env var or file 2017-02-20 10:10:22 -05:00
indexed_items.py
ini.py Make configparser imports python3 ready 2017-02-03 21:15:34 -08:00
inventory_hostnames.py
items.py
keyring.py PEP 8 fixes. 2017-01-31 15:18:24 -08:00
lastpass.py
lines.py
list.py
mongodb.py PEP 8 E111 & E114 cleanup. (#20838) 2017-01-30 15:01:47 -08:00
nested.py
password.py Make password lookup treat /dev/null as a special case 2017-02-15 12:15:09 -08:00
passwordstore.py passwordstore (pass) lookup module (#21314) 2017-02-14 11:12:39 -05:00
pipe.py PEP 8 W291 whitespace cleanup. 2017-01-27 17:08:02 -08:00
random_choice.py PEP 8 W291 whitespace cleanup. 2017-01-27 17:08:02 -08:00
redis_kv.py
sequence.py PEP 8 cleanup. (#20790) 2017-01-28 01:39:40 -08:00
shelvefile.py
subelements.py
template.py
together.py
url.py