Skip to content
Latchkey

What Is a Pipeline Secret Scope?

A pipeline secret scope is the boundary that controls where a secret can be read within a CI/CD system. It limits a credential to particular jobs, branches, or deployment environments rather than exposing it to every step in the pipeline. Scoping follows the principle of least privilege for build-time secrets.

Why it matters

A secret available to every job is a secret one compromised step can exfiltrate. Tight scoping shrinks the blast radius if any single job is exploited.

Related guides

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →