From 174c8215d1fc106d4fd4d19e3ea932901f397e92 Mon Sep 17 00:00:00 2001 From: Haochen Pan Date: Mon, 9 Sep 2024 14:49:23 -0400 Subject: [PATCH] Update aws_iam_msk.py --- diaspora_event_sdk/sdk/aws_iam_msk.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/diaspora_event_sdk/sdk/aws_iam_msk.py b/diaspora_event_sdk/sdk/aws_iam_msk.py index 86c75e3..dad3012 100644 --- a/diaspora_event_sdk/sdk/aws_iam_msk.py +++ b/diaspora_event_sdk/sdk/aws_iam_msk.py @@ -118,7 +118,8 @@ def generate_auth_token(region, aws_debug_creds=False): assert os.environ["OCTOPUS_AWS_SECRET_ACCESS_KEY"] aws_credentials = Credentials( - os.environ["OCTOPUS_AWS_ACCESS_KEY_ID"], os.environ["OCTOPUS_AWS_SECRET_ACCESS_KEY"] + os.environ["OCTOPUS_AWS_ACCESS_KEY_ID"], + os.environ["OCTOPUS_AWS_SECRET_ACCESS_KEY"], ) return __construct_auth_token(region, aws_credentials)