Repository Secret とは?
repository secret は 1 つの repository にスコープされ、その中で実行される workflow にのみ公開される secret です。組織全体で共有される認証情報ではなく、そのプロジェクト固有の値を保持します。プラットフォームはログ内で値を mask し、読み取れる場所を制限します。
なぜ重要か
プロジェクト固有の認証情報を repository レベルに保つことで、無関係なプロジェクトへの過剰な共有を避けられます。また secret の所有者も明確になります。
関連ガイド
What Is an Organization Secret?An organization secret is a credential defined once at the org level and shared across many repositories, avo…
What Is an Environment-Scoped Secret?An environment-scoped secret is a credential bound to one deployment environment, so a job can read it only w…
What Is a Pipeline Secret Scope?A pipeline secret scope defines which jobs, stages, or environments may read a given secret, narrowing exposu…