fix(dynamo_db.py): eliminating unneccessary params

This commit is contained in:
Krrish Dholakia 2024-02-07 22:52:15 -08:00
parent e59aca925a
commit 551a4c60a7

View file

@ -65,10 +65,6 @@ class DynamoDBWrapper(CustomDB):
RoleArn=self.database_arguments.aws_role_name,
RoleSessionName=self.database_arguments.aws_session_name,
WebIdentityToken=self.database_arguments.aws_web_identity_token,
ProviderId=self.database_arguments.aws_provider_id,
PolicyArns=self.database_arguments.aws_policy_arns,
Policy=self.database_arguments.aws_policy,
DurationSeconds=self.database_arguments.aws_duration_seconds,
)
aws_access_key_id = assumed_role["Credentials"]["AccessKeyId"]