Join our Newsletter — 33% off our NHI Course
Home› FAQ› Architecture & Implementation› How can teams tell whether code signing is…
Architecture & Implementation

How can teams tell whether code signing is actually working in Kubernetes?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated October 11, 2026 Domain: Architecture & Implementation

It is working when the cluster rejects unsigned, expired, or untrusted images before pods are scheduled, and when audit logs show which key signed each build. If deployments still rely on manual review or ad hoc scripts, the control is present in theory but not enforced in practice.

What “working” means in a Kubernetes admission path

code signing only counts as working if Kubernetes treats signature verification as an enforceable gate, not a documentation step. That means the control is evaluated before scheduling or deployment proceeds, and the result is deterministic: trusted artifacts pass, untrusted ones fail closed, and the decision is tied to the exact image that would run in the cluster.

The practical test is whether the enforcement point is actually wired into the path that matters. If an image can still be deployed through a side route, a cached exception, or a manual override, the signing process may exist, but it is not yet protecting the cluster.

For container image controls, that distinction is the difference between provenance and policy enforcement. Teams should be able to show that the cluster refuses unsigned or otherwise invalid images automatically, rather than relying on humans to notice the problem after the fact. NIST SP 800-190 Container Security is a useful reference point because it frames image, registry, orchestrator, and runtime controls as one chain, not separate checks.

What evidence proves the control is real

The cleanest evidence is a failed deployment that is rejected for the right reason. Test an unsigned image, an image signed by an untrusted key, and an image signed by an expired or revoked certificate. If those cases are blocked before pods are created, the control is being enforced; if they merely generate warnings, the policy is advisory.

Auditability matters just as much as blocking. A working implementation should leave a trail that identifies which key or certificate signed the build, which policy evaluated it, and why the image was allowed or denied. Without that linkage, teams cannot distinguish a valid signature from an outdated key, a copied signature, or a policy that never actually checked trust.

This is also where key lifecycle becomes part of the proof. Teams need to verify that signature verification is using current trust anchors, that revocation or rotation is reflected in the admission decision, and that build provenance remains traceable after a key change. Machine Identity, PKI and Certificate Lifecycle Guide helps connect signing to certificate expiry, renewal, and trust anchor management, while Cryptographic Key Management Guide covers the key inventory and rotation discipline that makes audit evidence believable.

Where sign-and-verify breaks in practice

Most failures are not cryptographic failures, they are enforcement failures. The image may be signed correctly, but the cluster may not be checking the signature on every deployment path, or the signer may be trusted more broadly than intended. Another common failure is accepting images from the right registry but not binding the signature to the exact digest that is scheduled.

Teams should also watch for key compromise and stale trust. If a signing key is stolen, reused, or never revoked, attackers can produce images that look legitimate enough to pass routine checks. Supply-chain incidents show that once a trusted signing relationship is abused, the blast radius can move from a single build artifact to every cluster that still trusts the old material. NVIDIA code-signing certificates stolen 2022 and HashiCorp GPG key exposure 2021 both illustrate why revocation and re-signing are operational requirements, not cleanup tasks.

For broader supply-chain assurance, the signing check should be aligned with build provenance rather than treated as a standalone control. A signed image that came from an untrusted or tampered pipeline is still a risk, which is why provenance, registry integrity, and admission enforcement need to be assessed together. SolarWinds supply chain compromise is a reminder that trusted distribution channels can be turned into an attack path when build trust is broken upstream.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-53 Rev 5, CIS Controls v8 and CSA Cloud Controls Matrix set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementSigning keys and trust material must be issued, rotated, and revoked correctly.
AU-2 — Audit EventsAdmission decisions need auditable evidence of who signed what and why it passed or failed.
SI-7 — Software, Firmware, and Information IntegrityCode signing is an integrity control meant to block unauthorized or altered artifacts.
Recommendation — Manage signing-key lifecycle and revoke compromised trust material promptly. Log signature verification outcomes and signer identity for every deployment decision. Enforce integrity checks that reject unsigned or untrusted images before execution.
CIS Controls v8CIS-16 — Application Software SecurityContainer image verification and signing are part of application software integrity protections.
Recommendation — Require trusted build provenance and verified images before deployment.
CSA Cloud Controls MatrixIAM — Identity & Access ManagementSigning trust depends on controlling the identities and keys that authorize artifacts.
Recommendation — Restrict signing authority and review trust relationships for build identities.

Practitioner Guidance

What to verify: Run negative tests in the live admission path, not just in a staging lab. The test should cover unsigned images, expired trust material, revoked keys, and signatures from an unexpected issuer; if any of those reach a running pod, the control is not actually functioning.

What good looks like: A deployment fails closed, the rejection reason is visible in logs, and the audit record ties the decision to the exact image digest and signing identity. That combination shows both enforcement and traceability, which are the two things practitioners usually need to prove.

Common mistake: Treating image signing as equivalent to image security. Signing proves origin or approval, but it does not prove that the image is safe, patched, or free of embedded secrets; it only helps if the cluster enforces the trust decision consistently.

Practitioner takeaway: If you cannot demonstrate a repeatable rejection of bad images plus an audit trail that names the signer, you do not yet have working code signing, you have an intended control with uncertain coverage.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 11, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org