Last active
March 21, 2018 20:40
-
-
Save chalonga/cb722d2f153fe3f26a21fca6b0604d80 to your computer and use it in GitHub Desktop.
Revisions
-
chalonga revised this gist
Mar 21, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -2,6 +2,6 @@ def vault_conf(vault_address, vault_token, path="/cubbyhole/app"): client = hvac.Client(url=vault_address, token=vault_token) return client.read(path)['data']
-
chalonga revised this gist
Mar 21, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -2,6 +2,6 @@ def vault_conf(vault_address, vault_token, path="/cubbyhole/app"): client = hvac.Client(url=vault_address, token=vault_token) return client.read(path)
-
chalonga created this gist
Mar 21, 2018 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ import hvac def vault_conf(vault_address, vault_token, path="/cubbyhole/app"): client = hvac.Client(url=vault_address, token=vault_token) client.read(path)