Skip to content

Commit

Permalink
Update aws_iam_msk.py
Browse files Browse the repository at this point in the history
  • Loading branch information
haochenpan committed Sep 9, 2024
1 parent 699c08f commit 174c821
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion diaspora_event_sdk/sdk/aws_iam_msk.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 174c821

Please sign in to comment.