From f78601c3e3030734b7825100b03bb4db26138f3d Mon Sep 17 00:00:00 2001 From: kanywst <45947799+kanywst@users.noreply.github.com> Date: Wed, 11 Nov 2026 02:59:36 +0900 Subject: [PATCH] fix(endpoints): scope the cross-partition route to the four documented partitions The non-commercial branch also covers ISO partitions, where AWS does not document cross-partition federation. Missed review comment on #23. --- src/features/endpoints/decide.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/features/endpoints/decide.ts b/src/features/endpoints/decide.ts index 5c7631d..c09ac01 100644 --- a/src/features/endpoints/decide.ts +++ b/src/features/endpoints/decide.ts @@ -24,8 +24,8 @@ export function decide(a: Answers): Decision { asked: ["commercial"], host: "sts..", why: { - en: "China, GovCloud, the European Sovereign Cloud and ISO partitions have no global endpoint. Use that partition's Regional endpoint. Credentials from one partition are not valid in another; to reach another partition, exchange a `GetWebIdentityToken` JWT with `AssumeRoleWithWebIdentity` there (cross-partition federation, since November 2026).", - ja: "中国・GovCloud・European Sovereign Cloud・ISO にはグローバルエンドポイントがありません。そのパーティションのリージョナルを使います。あるパーティションの認証情報は別のパーティションでは無効です。別パーティションに入るには、`GetWebIdentityToken` の JWT を相手側の `AssumeRoleWithWebIdentity` で交換します (2026 年 11 月からのクロスパーティションフェデレーション)。", + en: "China, GovCloud, the European Sovereign Cloud and ISO partitions have no global endpoint. Use that partition's Regional endpoint. Credentials from one partition are not valid in another; between the commercial, China, GovCloud (US) and European Sovereign Cloud partitions, exchange a `GetWebIdentityToken` JWT with `AssumeRoleWithWebIdentity` in the destination partition (cross-partition federation, since November 2026). AWS does not document this route for ISO partitions.", + ja: "中国・GovCloud・European Sovereign Cloud・ISO にはグローバルエンドポイントがありません。そのパーティションのリージョナルを使います。あるパーティションの認証情報は別のパーティションでは無効です。商用・中国・GovCloud (US)・European Sovereign Cloud の間では、`GetWebIdentityToken` の JWT を移動先パーティションの `AssumeRoleWithWebIdentity` で交換して入れます (2026 年 11 月からのクロスパーティションフェデレーション)。ISO パーティションでのこの経路は AWS のドキュメントにありません。", }, }; if (a.fips) {