クレーム (Claim) - CI/CD用語集の定義
クレーム とは、sub、iss、またはカスタムフィールドなど、トークン内に含まれる名前と値の記述であり、検証者がこれを読み取ってアイデンティティと認可の判断を行います。
標準クレーム
JWTの登録済みクレームには iss (issuer)、sub (subject)、aud (audience)、exp (expiry)、iat (issued at) が含まれます。カスタムクレームはコンテキストを追加します。
CI/CDにおいて
GitHubのOIDCトークンには repository や ref などのクレームが含まれ、クラウドのトラストポリシーがこれらのクレームと照合してrunを認可します。
関連ガイド
JSON Web Token (JWT) - CI/CD Glossary DefinitionJSON Web Token (JWT): A JSON Web Token (JWT) is a compact, URL-safe token (RFC 7519) with three base64url par…
Audience (aud) - CI/CD Glossary DefinitionAudience (aud): The audience claim (`aud`) names the intended recipient of a token; a verifier must reject a…
Issuer (iss) - CI/CD Glossary DefinitionIssuer (iss): The issuer claim (`iss`) identifies the authority that minted a token; a verifier trusts a toke…