Skip to content

Commit

Permalink
Merge pull request #152 from alexells/patch-1
Browse files Browse the repository at this point in the history
Update MFA doc link
  • Loading branch information
laughingman7743 authored Jul 28, 2020
2 parents e365b3f + 555fd79 commit e1f01bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyathena/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def _assume_role(
self, profile_name, region_name, role_arn, role_session_name, duration_seconds
):
# MFA is not supported. If you want to use MFA, create a configuration file.
# http://boto3.readthedocs.io/en/latest/guide/configuration.html#assume-role-provider
# https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#assume-role-provider
session = Session(profile_name=profile_name, **self._session_kwargs)
client = session.client("sts", region_name=region_name, **self._client_kwargs)
response = client.assume_role(
Expand Down

0 comments on commit e1f01bf

Please sign in to comment.