Personal Access Token (PAT) - CI/CD用語集の定義
personal access token(PAT)は、scriptやツールがGitHubなどのプラットフォームに認証する際にパスワードの代わりとなる、個々のユーザーアカウントに紐づいたtokenです。
スコープの設定
fine-grained PATでは、tokenが使えるリポジトリと権限を制限し、有効期限を設定できるため、広範なクラシックtokenに比べてリスクを減らせます。
CI/CDにおいて
PATは人間の所有者のアクセスを引き継ぎ、その人が去ると一緒に失われるため、個人のPATよりもスコープと有効期限を設定したPATやGitHub Appのtokenを優先してください。
関連ガイド
Scope - CI/CD Glossary DefinitionScope: A scope is a named permission attached to an OAuth token that limits what actions the token may perfor…
Service Account - CI/CD Glossary DefinitionService Account: A service account is a non-human identity used by an application or automation to authentica…
Secret Rotation - CI/CD Glossary DefinitionSecret Rotation: Secret rotation is periodically replacing stored secrets such as API keys, database password…