Last active
March 21, 2018 20:40
-
-
Save chalonga/cb722d2f153fe3f26a21fca6b0604d80 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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