Skip to content

Commit

Permalink
adding aws_session_token to config
Browse files Browse the repository at this point in the history
  • Loading branch information
Vzzarr committed Apr 19, 2023
1 parent 1c0f90c commit 25e556a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions target_s3/formats/format_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def __init__(self, config: dict, context: dict, extension: str) -> None:
self.session = Session(
aws_access_key_id=aws_config.get("aws_access_key_id", None),
aws_secret_access_key=aws_config.get("aws_secret_access_key", None),
aws_session_token=aws_config.get("aws_session_token", None),
region_name=aws_config.get("aws_region"),
profile_name=aws_config.get("aws_profile_name", None),
)
Expand Down

0 comments on commit 25e556a

Please sign in to comment.