Skip to content

Commit b7c4a66

Browse files
authored
Fix Auth parameter (#383)
1 parent 0ad732d commit b7c4a66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Credentials/WebIdentityProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ public function getCredentials(Configuration $configuration): ?Credentials
5959
}
6060

6161
$profileData = $profilesData[$profile];
62-
$roleArn = $profileData[IniFileLoader::KEY_WEB_IDENTITY_TOKEN_FILE] ?? null;
63-
$tokenFile = $profileData[IniFileLoader::KEY_ROLE_ARN] ?? null;
62+
$roleArn = $profileData[IniFileLoader::KEY_ROLE_ARN] ?? null;
63+
$tokenFile = $profileData[IniFileLoader::KEY_WEB_IDENTITY_TOKEN_FILE] ?? null;
6464

6565
if (null !== $roleArn && null !== $tokenFile) {
6666
return $this->getCredentialsFromRole(

0 commit comments

Comments
 (0)