OIDC Token - CI/CD 用語集の定義
OIDC token とは、GitHub Actions が job に発行できる短命の OpenID Connect JWT で、クラウドプロバイダーに対して自身の identity を証明し、保存された secret なしで一時的な認証情報と引き換えることを可能にします。
要求の仕方
permissions: id-token: write を付与すると、クラウドのログイン action(例えば aws-actions/configure-aws-credentials)が $ACTIONS_ID_TOKEN_REQUEST_URL からトークンを取得します。クラウド側は repo:owner/name:ref:refs/heads/main のような claim を信頼します。
関連ガイド
GITHUB_TOKEN - CI/CD Glossary DefinitionGITHUB_TOKEN: GITHUB_TOKEN is the short-lived access token GitHub Actions creates automatically for each work…
Workflow Permissions - CI/CD Glossary DefinitionWorkflow Permissions: Workflow permissions are the access scopes granted to the automatic `GITHUB_TOKEN`, set…
OIDC - CI/CD Glossary DefinitionOIDC: **OIDC** (OpenID Connect) lets a workflow exchange its identity for short-lived cloud credentials, remo…