We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ad732d commit b7c4a66Copy full SHA for b7c4a66
src/Credentials/WebIdentityProvider.php
@@ -59,8 +59,8 @@ public function getCredentials(Configuration $configuration): ?Credentials
59
}
60
61
$profileData = $profilesData[$profile];
62
- $roleArn = $profileData[IniFileLoader::KEY_WEB_IDENTITY_TOKEN_FILE] ?? null;
63
- $tokenFile = $profileData[IniFileLoader::KEY_ROLE_ARN] ?? null;
+ $roleArn = $profileData[IniFileLoader::KEY_ROLE_ARN] ?? null;
+ $tokenFile = $profileData[IniFileLoader::KEY_WEB_IDENTITY_TOKEN_FILE] ?? null;
64
65
if (null !== $roleArn && null !== $tokenFile) {
66
return $this->getCredentialsFromRole(
0 commit comments