vtl works with vault and consul, allowing you to output a list of all the active vault tokens that are stored in your consul backend.
- Set a vault root token in your environment:
export VAULT_TOKEN=<vault token here>
- Set a consul token if using one, else skip this step:
export CONSUL_TOKEN=<consul token here>
- Configure the address and port of your consul and vault servers on line 11 and 13 of vtl.rb, respectively. e.g.:
consul_addr = 'http://consul.domain.tld:8500'
vault_addr = 'http://vault.domain.tld:8200'