From ce0b09617725db544e0e54b7b849a33065b714cc Mon Sep 17 00:00:00 2001 From: Michael Morar Date: Thu, 26 Oct 2023 12:31:57 +0100 Subject: [PATCH] applied another fix kv name --- stonegate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stonegate.py b/stonegate.py index 531aacb..aed9381 100644 --- a/stonegate.py +++ b/stonegate.py @@ -15,8 +15,8 @@ kv_client = SecretClient(vault_url=settings.keyvault_url, credential=credential) base_url=settings.stonegate_atreemo_url; stonegate_auth = { - "username": json.loads(kv_client.get_secret("stonegate-outbound-compound-key-join").value)["username"], - "password": json.loads(kv_client.get_secret("stonegate-outbound-compound-key-join").value)["password"], + "username": json.loads(kv_client.get_secret("stonegate-outbound-compound-key-join").value)["data"]["username"], + "password": json.loads(kv_client.get_secret("stonegate-outbound-compound-key-join").value)["data"]["password"], }