Skip to content

Ruby tool to retrieve list of active vault tokens when using consul as backend storage

Notifications You must be signed in to change notification settings

michaelcurran/vault-token-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Vault Token List

Overview

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.

Setup

  1. Set a vault root token in your environment:
  • export VAULT_TOKEN=<vault token here>
  1. Set a consul token if using one, else skip this step:
  • export CONSUL_TOKEN=<consul token here>
  1. 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'

About

Ruby tool to retrieve list of active vault tokens when using consul as backend storage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages