Fix aws_account_attribute lookup credentials bug for access keys (#35242)

pull/29091/merge
Sloane Hertel 7 years ago committed by GitHub
parent 33c4351a35
commit ff2ad89081
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -121,8 +121,8 @@ def _boto3_conn(region, credentials):
def _get_credentials(options):
credentials = {}
credentials['boto_profile'] = options['boto_profile']
credentials['aws_secret_access_key'] = options['aws_access_key']
credentials['aws_access_key_id'] = options['aws_secret_key']
credentials['aws_secret_access_key'] = options['aws_secret_key']
credentials['aws_access_key_id'] = options['aws_access_key']
credentials['aws_session_token'] = options['aws_security_token']
return credentials

Loading…
Cancel
Save