ArticlesSecuring container supply chains with Sigstore Cosign

Article

Securing container supply chains with Sigstore Cosign

Cryptographic container image signing and admission policy verification in Kubernetes clusters.

Software supply-chain integrity ensures that workloads running inside production clusters match the exact commits and builds reviewed by the team. Cosign provides keyless cryptographic signing directly alongside OCI container registries.

The keyless signing lifecycle

Using OpenID Connect (OIDC) identity tokens from GitHub Actions, Cosign generates short-lived signing certificates backed by the Sigstore Fulcio certificate authority and records provenance into the Rekor transparency log.

StageActorEvidence produced
Build stepGitHub Actions runnerContainer image digest
Sign stepFulcio & OIDCCryptographic signature in OCI
Admission stepKyverno / GatekeeperVerification of signed issuer identity

Signing an image in CI

The signing step runs after container scanning passes:

cosign sign --yes "ghcr.io/h1zardian/api-service@sha256:abcd1234"

Admission controller verification

Deploying signed images is only effective when the Kubernetes admission controller actively rejects unsigned or untrusted digests before container runtime creation.

Discussion

Comments load from GitHub only when requested. The Article remains available if GitHub is blocked.Open Article discussions on GitHub.