From 7cb681fac820d35d5e0447066d494b44522bd359 Mon Sep 17 00:00:00 2001 From: kanywst <45947799+kanywst@users.noreply.github.com> Date: Sun, 8 Nov 2026 11:44:44 +0900 Subject: [PATCH] chore: rename the site to aws-credentials Move the Pages base path, canonical/OG URLs, Playwright base URL, package name, footer, badges and links to aws-credentials, retitle the site for its broader scope (issuance and signing) and re-render the OG image. The localStorage keys keep the old prefix so saved choices survive. --- .github/workflows/claude-review.yml | 2 +- LICENSE | 2 +- LICENSE-docs.md | 2 +- README.ja.md | 14 ++++++++------ README.md | 14 ++++++++------ docs/01-overview.md | 2 +- e2e/a11y.spec.ts | 2 +- index.html | 22 +++++++++++++--------- package-lock.json | 4 ++-- package.json | 4 ++-- playwright.config.ts | 4 ++-- public/og.png | Bin 145576 -> 155487 bytes scripts/og/og.html | 8 ++++---- src/components/layout/Footer.tsx | 4 ++-- src/components/layout/Header.tsx | 1 + src/i18n/LangContext.tsx | 4 ++-- src/i18n/lang.ts | 1 + vite.config.ts | 4 ++-- 18 files changed, 52 insertions(+), 42 deletions(-) diff --git a/.github/workflows/claude-review.yml b/.github/workflows/claude-review.yml index 2ad539d..7405958 100644 --- a/.github/workflows/claude-review.yml +++ b/.github/workflows/claude-review.yml @@ -87,7 +87,7 @@ jobs: REPO: ${{ github.repository }} PR: ${{ github.event.pull_request.number }} - This repository (0-draft/assume-role): AWS STS, drawn: every endpoint, every API, every way a workload or a human ends up holding temporary credentials. EN/JA. + This repository (0-draft/aws-credentials): AWS credentials, drawn: every STS endpoint, every API, every way a workload or a human ends up holding temporary credentials, and how requests are signed with them (SigV4, SigV4a, presigned URLs). EN/JA. Before reviewing, read whatever this repository says about itself: CLAUDE.md, AGENTS.md, CONTRIBUTING.md, README.md (and README.ja.md if present), and the diff --git a/LICENSE b/LICENSE index b8be02e..f74c7d0 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2026 assume-role contributors +Copyright (c) 2026 aws-credentials contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/LICENSE-docs.md b/LICENSE-docs.md index 1496b72..8e09f2f 100644 --- a/LICENSE-docs.md +++ b/LICENSE-docs.md @@ -2,6 +2,6 @@ The contents of `docs/` are licensed under the [Creative Commons Attribution 4.0 International License (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/). -You may share and adapt them for any purpose, including commercially, as long as you give appropriate credit: "assume-role ()", link to the license, and indicate if changes were made. +You may share and adapt them for any purpose, including commercially, as long as you give appropriate credit: "aws-credentials ()", link to the license, and indicate if changes were made. Third-party facts and figures are cited to their original sources; those sources keep their own terms. Source code in this repository is licensed separately under the [MIT License](./LICENSE). diff --git a/README.ja.md b/README.ja.md index b376c09..53255f2 100644 --- a/README.ja.md +++ b/README.ja.md @@ -1,11 +1,13 @@ -# assume-role +# aws-credentials -[![ci](https://github.com/0-draft/assume-role/actions/workflows/ci.yml/badge.svg)](https://github.com/0-draft/assume-role/actions/workflows/ci.yml) -[![codeql](https://github.com/0-draft/assume-role/actions/workflows/codeql.yml/badge.svg)](https://github.com/0-draft/assume-role/actions/workflows/codeql.yml) +[![ci](https://github.com/0-draft/aws-credentials/actions/workflows/ci.yml/badge.svg)](https://github.com/0-draft/aws-credentials/actions/workflows/ci.yml) +[![codeql](https://github.com/0-draft/aws-credentials/actions/workflows/codeql.yml/badge.svg)](https://github.com/0-draft/aws-credentials/actions/workflows/codeql.yml) -AWS STS を図解するサイトです。英語と日本語に対応したインタラクティブな解説で、AWS Security Token Service のグローバルエンドポイントと、リージョン・FIPS・デュアルスタック・PrivateLink の各ホスト名、STS の API 11 個すべて、ワークロードや人が一時認証情報を手にするまでの全経路、それにまつわるポリシー・上限・エラーを扱います。 +AWS の認証情報を図解するサイトです。英語と日本語に対応したインタラクティブな解説で、認証情報がどう発行され、どう使われるかを扱います。発行の側では、AWS Security Token Service のグローバルエンドポイントと、リージョン・FIPS・デュアルスタック・PrivateLink の各ホスト名、STS の API 11 個すべて、ワークロードや人が一時認証情報を手にするまでの全経路、それにまつわるポリシー・上限・エラー。使う側では、ブラウザ内でその場で計算する SigV4 / SigV4a の署名、presigned URL、bearer 型の API キーです。 -**サイト:** ([English](https://0-draft.github.io/assume-role/)) +このリポジトリは 2026-11-08 まで `assume-role` という名前でした。その日に旧 `caller-identity` プロジェクト (リクエスト署名) を統合しています。 + +**サイト:** ([English](https://0-draft.github.io/aws-credentials/)) [English README](README.md) @@ -35,7 +37,7 @@ Node.js 24 が必要です。 ```bash npm ci -npm run dev # http://localhost:5173/assume-role/ +npm run dev # http://localhost:5173/aws-credentials/ npm run check # 型チェック、lint、フォーマット、markdownlint、テスト、ビルド npm run test:e2e # 実ブラウザでのチェック (要: npx playwright install chromium) ``` diff --git a/README.md b/README.md index 2a65178..5cf76e0 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,13 @@ -# assume-role +# aws-credentials -[![ci](https://github.com/0-draft/assume-role/actions/workflows/ci.yml/badge.svg)](https://github.com/0-draft/assume-role/actions/workflows/ci.yml) -[![codeql](https://github.com/0-draft/assume-role/actions/workflows/codeql.yml/badge.svg)](https://github.com/0-draft/assume-role/actions/workflows/codeql.yml) +[![ci](https://github.com/0-draft/aws-credentials/actions/workflows/ci.yml/badge.svg)](https://github.com/0-draft/aws-credentials/actions/workflows/ci.yml) +[![codeql](https://github.com/0-draft/aws-credentials/actions/workflows/codeql.yml/badge.svg)](https://github.com/0-draft/aws-credentials/actions/workflows/codeql.yml) -AWS STS, drawn. An interactive, bilingual (English / 日本語) explainer of the AWS Security Token Service: the global endpoint and every regional, FIPS, dual-stack and PrivateLink hostname, all 11 STS APIs, every path by which a workload or a person ends up holding temporary credentials, and the policies, limits and errors around them. +AWS credentials, drawn. An interactive, bilingual (English / 日本語) explainer of how AWS credentials are issued and how they are used. Issuance: the AWS Security Token Service's global endpoint and every regional, FIPS, dual-stack and PrivateLink hostname, all 11 STS APIs, every path by which a workload or a person ends up holding temporary credentials, and the policies, limits and errors around them. Use: SigV4 and SigV4a signing computed live in the browser, presigned URLs and bearer API keys. -**Site:** ([日本語](https://0-draft.github.io/assume-role/?lang=ja)) +This repository was called `assume-role` until 2026-11-08, when the former `caller-identity` project (request signing) was merged in. + +**Site:** ([日本語](https://0-draft.github.io/aws-credentials/?lang=ja)) [日本語の README](README.ja.md) @@ -35,7 +37,7 @@ Requires Node.js 24. ```bash npm ci -npm run dev # http://localhost:5173/assume-role/ +npm run dev # http://localhost:5173/aws-credentials/ npm run check # typecheck, lint, format, markdownlint, tests, build npm run test:e2e # real-browser checks (needs: npx playwright install chromium) ``` diff --git a/docs/01-overview.md b/docs/01-overview.md index d75ef9e..3b1bba5 100644 --- a/docs/01-overview.md +++ b/docs/01-overview.md @@ -36,4 +36,4 @@ Temporary credentials matter because they expire on their own. A leaked long-ter - Running into an error: [06-operations-and-security.md](06-operations-and-security.md) has the error catalogue, CloudTrail fields and quotas. - How it got this way: [07-timeline.md](07-timeline.md). -- The interactive version of all of this: . +- The interactive version of all of this: . diff --git a/e2e/a11y.spec.ts b/e2e/a11y.spec.ts index fc45116..e1611b2 100644 --- a/e2e/a11y.spec.ts +++ b/e2e/a11y.spec.ts @@ -6,7 +6,7 @@ import { expect, test } from "@playwright/test"; for (const lang of ["en", "ja"] as const) { for (const scheme of ["light", "dark"] as const) { test(`no WCAG A/AA violations (${lang}, ${scheme})`, async ({ page }) => { - // axe walks the whole page (ten chapters); under a parallel run on a busy + // axe walks the whole page (eleven chapters); under a parallel run on a busy // machine that can pass the default 30 s. test.slow(); await page.emulateMedia({ colorScheme: scheme }); diff --git a/index.html b/index.html index de0fa05..72a27b2 100644 --- a/index.html +++ b/index.html @@ -3,21 +3,24 @@ - assume-role: AWS STS, drawn + aws-credentials: AWS credentials, drawn - + - - + + + + - -