Skip to content

Instantly share code, notes, and snippets.

@chalonga
Last active March 21, 2018 20:40
Show Gist options
  • Save chalonga/cb722d2f153fe3f26a21fca6b0604d80 to your computer and use it in GitHub Desktop.
Save chalonga/cb722d2f153fe3f26a21fca6b0604d80 to your computer and use it in GitHub Desktop.
import hvac
def vault_conf(vault_address, vault_token, path="/cubbyhole/app"):
client = hvac.Client(url=vault_address, token=vault_token)
return client.read(path)['data']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment