Fix aws_account_attribute lookup credentials bug for access keys (#35242)
This commit is contained in:
parent
33c4351a35
commit
ff2ad89081
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue