They should treat each pipeline step as a separate access event and require explicit authorisation for every privileged action. That means narrowing network assumptions, verifying machine identities continuously, and using temporary credentials that expire as soon as the task is complete.
How zero trust changes software delivery from trust-based to action-based control
Zero trust works in software delivery when every handoff is treated as a new trust decision, not as an inherited permission from the build system, runner, or network segment. That matters because delivery pipelines often combine code, build services, signing systems, artifact stores, deployment tools, and secrets handling in one chain. The control objective is to make each action provable, limited, and time-bounded.
In practice, this means the pipeline should not be able to “keep” trust just because an earlier stage already passed. A build job, signing task, test environment, or deploy step should each present its own identity, request only the access it needs, and lose that access when the step ends. Zero Trust Identity Guide is a useful reference for the identity-centric model behind that approach.
For software delivery, the important shift is from network location to explicit authorisation. If a job needs to read a repository, fetch dependencies, sign an artifact, or publish to production, the environment should verify the specific workload or machine identity and then allow only the minimum action set. Guide to SPIFFE and SPIRE is especially relevant where teams want workload identity to back those checks with verifiable, short-lived credentials.
What “every pipeline step” means in a real delivery chain
Applying zero trust to delivery environments is not just about locking down the CI server. The same logic should extend to build runners, artifact repositories, container registries, deployment controllers, IaC automation, and any helper service that can change code or infrastructure. Each of those components is both a consumer of trust and a source of risk if it can act broadly across the environment.
The practical test is whether a compromise in one stage can automatically reach the next stage. If a test job can also push images, or a packaging step can also deploy to production, then trust is too broad. Zero trust narrows that blast radius by separating duties, segmenting environments, and making the authorisation boundary visible at each transition. NIST SP 800-207 Zero Trust Architecture provides the core model for continuous verification and least-privilege access decisions.
That is also why software delivery teams should think in terms of access events, not just pipeline runs. A pipeline may run thousands of times, but each sensitive action still needs its own policy decision. If the build system is allowed to assume that a prior step proves all later steps, the environment has already drifted away from zero trust.
Why temporary credentials and continuous identity verification matter most
Temporary credentials are central because delivery automation is highly exposed to credential theft, replay, and privilege accumulation. Long-lived keys or shared secrets tend to outlive the task they were issued for, which makes them attractive targets and hard to contain after misuse. Expiring credentials force the access window to match the work window.
Continuous verification matters for the same reason. A machine identity that was valid at job start should still be checked when the job reaches a privileged action, especially if the step has crossed a trust boundary such as pulling from source control, promoting artifacts, or touching production infrastructure. In mature environments, the policy question becomes whether the current request still matches the expected workload, context, and privilege scope.
Ultimate Guide to NHIs is useful here because delivery pipelines depend heavily on non-human identities, even when teams describe the system as “just automation.” The security problem is not automation itself, but automation with standing privilege, reusable secrets, and weak step-level accountability.
Risk and Threat Considerations
Software delivery environments are high-value targets because they concentrate trust: source code, build credentials, signing keys, deployment authority, and access to production paths. If an attacker compromises one step, the attacker may inherit the pipeline’s implicit trust and use it to tamper with artifacts, steal secrets, or deploy malicious changes. The risk grows when credentials persist beyond the task that needs them.
Failure mechanism: Standing privilege, shared secrets, and broad network reach let one compromised job or runner move laterally into later stages or adjacent systems. If identities are not checked per action, a malicious or compromised step can behave like a trusted operator.
Impact: The result can be build poisoning, unauthorized deployment, secret exposure, or loss of artifact integrity. In the worst case, the delivery system becomes a propagation path for supply-chain compromise rather than a control point.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 addresses the attack and risk surface, while NIST Zero Trust (SP 800-207) and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST Zero Trust (SP 800-207) | N/A — Zero Trust Architecture | Software delivery zero trust is a direct application of continuous verification and least privilege. |
| Recommendation — Apply continuous verification and least-privilege policy to every privileged pipeline step. | ||
| NIST SP 800-53 Rev 5 | IA-9 — Identification and Authentication (Service and Application Accounts) | Delivery automation relies on service and workload identities authenticating to each other. |
| AC-6 — Least Privilege | Each pipeline action should receive only the access needed for that step. | |
| IA-5 — Authenticator Management | Temporary credentials and secret expiry are central to delivery security. | |
| Recommendation — Authenticate pipeline services with scoped, short-lived identities rather than shared secrets. Restrict each build and deploy step to the minimum permissions required for its task. Issue and rotate ephemeral credentials so pipeline access expires with the task. | ||
| OWASP Non-Human Identity Top 10 | NHI-07 — Long-Lived Secrets | Software delivery often fails when automation relies on secrets that outlive the job. |
| NHI-05 — Overprivileged NHI | Pipeline identities become dangerous when they can deploy, sign, or access beyond their role. | |
| Recommendation — Replace persistent pipeline secrets with ephemeral credentials and enforced rotation. Scope pipeline identities to the exact actions and environments they must reach. | ||
Practitioner Guidance
What to verify: Confirm that each sensitive pipeline action has a distinct identity, policy decision, and short-lived credential path. If a step can still act after its work is complete, the environment is not yet operating on a zero-trust basis.
Decision rule: If a pipeline task can change code, sign an artifact, or deploy infrastructure, treat it as privileged and require explicit approval in policy, not just membership in the build network.
What good looks like: Build, test, sign, and deploy stages fail closed unless the exact workload identity, task scope, and time window are valid for that action. The strongest signal is that compromise of one step does not automatically grant reach into the next.
Practitioner takeaway: Zero trust in software delivery is not a perimeter tactic, it is a discipline of step-by-step authority reduction, where trust is issued narrowly, checked continuously, and removed immediately after use.
Related resources from NHI Mgmt Group
- How should security teams apply zero trust to SaaS environments?
- How should security teams apply Zero Trust principles to SAP change management without slowing delivery?
- How should security teams apply zero trust to export controlled information in SAP environments without disrupting operations?
- How should security teams apply zero trust to ICS and SCADA environments without disrupting operations?
Deepen Your Knowledge
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.
Reviewed and updated by the NHIMG editorial team on October 6, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org