Skip to content

Commit

Permalink
Renamed boto3 argument, fixes capless#57
Browse files Browse the repository at this point in the history
TypeError: client() got an unexpected keyword argument 'aws_access_key'
  • Loading branch information
armicron committed Oct 9, 2017
1 parent 33df03c commit fdc5fc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion warrant/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def __init__(

boto3_client_kwargs = {}
if access_key and secret_key:
boto3_client_kwargs['aws_access_key'] = access_key
boto3_client_kwargs['aws_access_key_id'] = access_key
boto3_client_kwargs['aws_secret_access_key'] = secret_key
if user_pool_region:
boto3_client_kwargs['region_name'] = user_pool_region
Expand Down

0 comments on commit fdc5fc3

Please sign in to comment.