Skip to content

Commit

Permalink
Merge pull request aws#3 from brandond/add_boto_compat
Browse files Browse the repository at this point in the history
Add support for legacy aws_security_token key in credentials file
  • Loading branch information
venth authored Jul 10, 2016
2 parents f2a9ad5 + e37deaa commit 50e621b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion aws_adfs/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.0.5'
__version__ = '0.0.6'
1 change: 1 addition & 0 deletions aws_adfs/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ def credentials_storer(config_file, profile):
config_file.set(profile, 'aws_access_key_id', aws_session_token['Credentials']['AccessKeyId'])
config_file.set(profile, 'aws_secret_access_key', aws_session_token['Credentials']['SecretAccessKey'])
config_file.set(profile, 'aws_session_token', aws_session_token['Credentials']['SessionToken'])
config_file.set(profile, 'aws_security_token', aws_session_token['Credentials']['SessionToken'])

def config_storer(config_file, profile):
config_file.set(profile, 'region', config.region)
Expand Down

0 comments on commit 50e621b

Please sign in to comment.