Interview Prep/DevSecOps/Supply Chain Security at Scale

Why pin the signer identity to a reusable workflow rather than to each repository?

AdvancedProductionSupply Chain Security at Scale
Answer

If the policy trusts "any workflow in org acme", a developer can write a workflow in any repo that signs anything. When all builds go through one reusable workflow, the Fulcio certificate's identity is that reusable workflow file and ref, so the policy says: "only images built by our controlled pipeline". The reusable workflow repo then gets strict protection (CODEOWNERS = platform security, signed tags, required reviews). One tightly protected repo is easier to defend than 500.

All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Supply Chain Security at Scale