Workload Identity - CI/CD用語集の定義
workload identityは、実行中のworkloadが、保存されたservice accountのキーの代わりに、自身の検証可能なアイデンティティ(多くの場合OIDC token)を使ってクラウドAPIに認証できるようにします。
キーを排除する仕組み
クラウドプロバイダーはworkloadのOIDC issuerを信頼し、有効なtokenが提示されると短命の認証情報を発行します。漏洩する長期間のキーファイルは存在しません。
CI/CDにおいて
LatchkeyやGitHub Actionsのrunnerはworkload identityをOIDC経由で使用するため、jobは静的なsecretなしでAWS、GCP、Azureに認証できます。
関連ガイド
OpenID Connect - CI/CD Glossary DefinitionOpenID Connect: OpenID Connect (OIDC) is an identity layer built on top of OAuth 2.0 that issues a signed ID…
Federated Identity - CI/CD Glossary DefinitionFederated Identity: Federated identity lets one system trust identities issued by another, so a token from a…
Service Account - CI/CD Glossary DefinitionService Account: A service account is a non-human identity used by an application or automation to authentica…