chore: Update dist

This commit is contained in:
GitHub Actions
2026-05-14 20:40:12 +00:00
parent 58e7c47adf
commit e6e8eba750
Generated Vendored
+3 -1
View File
@@ -78155,12 +78155,14 @@ async function run() {
sourceAccountId = await withRetry(() => exportAccountId(credentialsClient, maskAccountId), "exportAccountId"); sourceAccountId = await withRetry(() => exportAccountId(credentialsClient, maskAccountId), "exportAccountId");
} }
if (AccessKeyId || roleChaining) { if (AccessKeyId || roleChaining) {
if (outputEnvCredentials) {
await withRetry( await withRetry(
() => credentialsClient.validateCredentials(AccessKeyId, roleChaining, expectedAccountIds), () => credentialsClient.validateCredentials(AccessKeyId, roleChaining, expectedAccountIds),
"validateCredentials" "validateCredentials"
); );
sourceAccountId = await withRetry(() => exportAccountId(credentialsClient, maskAccountId), "exportAccountId"); sourceAccountId = await withRetry(() => exportAccountId(credentialsClient, maskAccountId), "exportAccountId");
} }
}
if (customTags && (useGitHubOIDCProvider() || webIdentityTokenFile)) { if (customTags && (useGitHubOIDCProvider() || webIdentityTokenFile)) {
warning( warning(
"'custom-tags' is set but will be ignored because session tags cannot be applied when using OIDC or web identity token authentication. Tags are controlled by the identity provider token claims in these authentication flows." "'custom-tags' is set but will be ignored because session tags cannot be applied when using OIDC or web identity token authentication. Tags are controlled by the identity provider token claims in these authentication flows."
@@ -78189,7 +78191,7 @@ async function run() {
} while (specialCharacterWorkaround && !verifyKeys(roleCredentials.Credentials)); } while (specialCharacterWorkaround && !verifyKeys(roleCredentials.Credentials));
info(`Authenticated as assumedRoleId ${roleCredentials.AssumedRoleUser?.AssumedRoleId}`); info(`Authenticated as assumedRoleId ${roleCredentials.AssumedRoleUser?.AssumedRoleId}`);
exportCredentials(roleCredentials.Credentials, outputCredentials, outputEnvCredentials); exportCredentials(roleCredentials.Credentials, outputCredentials, outputEnvCredentials);
if ((!process.env.GITHUB_ACTIONS || AccessKeyId) && !awsProfile) { if ((!process.env.GITHUB_ACTIONS || AccessKeyId) && !awsProfile && outputEnvCredentials) {
await withRetry( await withRetry(
() => credentialsClient.validateCredentials( () => credentialsClient.validateCredentials(
roleCredentials.Credentials?.AccessKeyId, roleCredentials.Credentials?.AccessKeyId,