Skip to content
Snippets Groups Projects
Commit 4af61ce6 authored by Jedrzej Rybicki's avatar Jedrzej Rybicki
Browse files

vault path change

parent 31481e74
Branches
Tags
No related merge requests found
Pipeline #94873 passed
......@@ -33,7 +33,7 @@ def get_connection(conn_id):
if conn_id.startswith('vault'):
vault_hook = VaultHook(vault_conn_id='my_vault')
con = vault_hook.get_secret(
secret_path=f"ssh-credentials/{conn_id[6:]}")
secret_path=f"/data/ssh-credentials/{conn_id[6:]}")
print(f"Got some values from vault {list(con.keys())}")
# for now SSH is hardcoded
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment