By NHI Mgmt Group Editorial TeamBased on Entro Security: “The role of secrets management in zero trust architecture” (November 2, 2023)

TL;DR: Secrets management is the credential control layer that turns zero trust from a policy slogan into an enforceable operating model for human-to-machine and machine-to-machine access, according to Entro Security. The core issue is that least privilege and continuous verification fail when secrets are static, scattered, or overexposed.


At a glance

What this is: This article frames secrets management as the control layer that makes zero trust architecture operational by governing credentials, authentication, and authorization across human and machine access paths.

Why it matters: IAM, PAM, and NHI teams should treat secrets governance as a core zero trust dependency because policy-based verification fails if credentials are scattered, static, or poorly controlled.


Context

Zero trust architecture assumes that trust is never implicit, so every identity, credential, and request must be verified before access is granted. In practice, that makes secrets management the mechanism that issues, stores, and constrains the credentials behind those decisions.

The governance gap is not authentication in isolation. It is the fact that zero trust depends on controlled secrets for human-to-machine and machine-to-machine access, while many environments still spread those secrets across pipelines, systems, and teams without a single operating model.

For IAM, PAM, and NHI programmes, this shifts secrets management from a hygiene task to a structural control layer. If the credentials are static, overexposed, or poorly governed, zero trust becomes policy language rather than enforceable access behaviour.


Key questions

Q: How should security teams govern secrets in zero trust environments?

A: Security teams should govern secrets as the credential layer that makes zero trust enforceable. That means inventorying every secret type, shortening lifetimes where possible, separating human and machine patterns, and revoking credentials when the trust relationship changes. If the secret remains static and reusable, zero trust becomes a policy statement rather than an access control model.

Q: Why do static secrets undermine zero trust for non-human identities?

A: Static secrets create standing trust before the workload proves anything at runtime. Zero trust depends on continuous verification, but a hardcoded key or persistent token bypasses that discipline by giving access up front. For NHIs, that means access control becomes durable by accident rather than justified by current context.

Q: What are the signs that trust management is failing in a modern security programme?

A: Trust management is failing when security tools operate in silos, processes stay manual, and teams cannot produce clear, reportable evidence of risk decisions. Other warning signs include weak visibility across endpoints, poor documentation, inconsistent compliance readiness, and limited coordination between security, privacy, ethics, and ESG functions. Those gaps make trust hard to earn and harder to prove.

Q: When should organisations prioritise secrets management over other identity controls?

A: Prioritise secrets management when credentials are embedded in code, shared across teams, or used by developer workloads that change frequently. It also becomes urgent when incidents show secrets on endpoints, in repositories, or in messaging tools. In those cases, reducing secret exposure often delivers faster risk reduction than waiting for broader identity modernisation.


Technical breakdown

Why zero trust depends on credential governance

Zero trust architecture is built on continuous verification, but verification only works when the underlying credential lifecycle is controlled. Secrets such as passwords, API keys, tokens, and certificates are the proof objects that allow systems to authenticate and authorise access. If those secrets are long-lived, duplicated, or stored outside governance, the architecture still exists on paper but not in operation. Secrets management provides the issuance, storage, and revocation layer that keeps access decisions tied to current policy rather than stale credentials.

Practical implication: treat secrets governance as part of the zero trust control plane, not as a separate support function.

Human-to-machine access needs tighter secret handling than perimeter controls

Human-to-machine access in a zero trust model is not secured by location or network boundary. The user proves identity, the system checks the secret, and access should remain constrained to the minimum task scope. That means the important failure mode is not simply credential theft, but credential persistence beyond the need for access. When secrets are reused or left available after the task ends, least privilege is weakened even if authentication is technically present.

Practical implication: bind human-to-machine secrets to task scope and remove any standing credential exposure that outlives the session.

Machine-to-machine access amplifies secrets sprawl risk

Machine-to-machine interactions are highly dependent on service credentials because software components do not authenticate the way humans do. Every service account, API key, or token becomes a trust anchor for a downstream interaction, which makes inventory and rotation discipline essential. The article’s point is that zero trust for machine traffic is only credible when these credentials are managed continuously and monitored for unusual use. Without that, the control assumes a stable access environment that no longer exists in distributed systems.

Practical implication: inventory machine credentials across environments and align rotation, revocation, and monitoring to each dependency path.


Threat narrative

Attacker objective: The objective is to use trusted credentials to gain low-friction access to internal systems and expand reach without triggering traditional perimeter defences.

  1. Entry begins when a leaked or overexposed secret gives an attacker a valid credential rather than forcing them through a noisy exploit path.
  2. Escalation occurs when that credential is reused across services or left overprivileged, letting the attacker move from one trusted system to another.
  3. Impact follows when the attacker operates inside normal access boundaries, making misuse harder to detect and increasing the blast radius of the compromise.
  • Hugging Face Spaces breach 2024: Unauthorised access to Hugging Face Spaces may have exposed secrets users stored for AI apps; tokens were revoked and org tokens removed.
  • Toyota T-Connect key exposure 2022: A subcontractor left a T-Connect server key on public GitHub from 2017 to 2022; 296,019 customers' emails were exposed, misuse unknown.

Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

Zero trust is only as strong as the secrets layer underneath it. The article is correct that trust decisions collapse if the credentials used to prove identity are static, duplicated, or exposed outside governed workflows. That makes secrets management a structural prerequisite for zero trust, not an adjacent control. Practitioners should judge zero trust readiness by whether credential lifecycle and access scope are actually enforced.

Secrets sprawl is the operational form of zero trust failure. A zero trust programme can define least privilege at policy level, but fragmented secret stores, unmanaged API keys, and unclear ownership turn that policy into a weak promise. This is especially visible in cloud and application environments where credentials are distributed across pipelines, vaults, and service accounts. The implication is that zero trust governance must start with secret inventory and accountability.

Secret lifecycle is now an identity problem, not just a security tooling problem. The article’s human-to-machine and machine-to-machine examples show that secrets management sits inside IAM and PAM decision-making, because credentials define who or what can act. That broadens the governance boundary for identity teams, who must treat secrets as living access artefacts rather than static configuration. Practitioners should align lifecycle, privilege, and monitoring around the credential, not the system alone.

Ephemeral access only works when the secret itself is ephemeral. Zero trust assumes access is checked continuously, but long-lived secrets create standing trust even when the policy says otherwise. That is the core control tension in this article: continuous verification is undermined when the proof of identity survives far longer than the access need. Identity teams should map where standing secrets still exist and remove the false assurance they create.

Identity blast radius is defined by secrets reuse. When the same credential anchors multiple services or environments, zero trust becomes a compromise multiplier rather than a constraint. This is the point where IAM, PAM, and NHI governance converge on one question: how far does a single secret let an actor travel? Practitioners should manage secrets as blast-radius controls, not just authentication artefacts.

From our research library:

What this signals

Secret sprawl is now a zero trust design problem. The key issue is not whether a programme says it follows least privilege, but whether every secret can be inventoried, owned, and revoked without guessing where it lives. When the credential estate is fragmented, the trust model is already compromised before an attacker arrives.

Identity programmes need to shift control focus from authentication events to secret lifecycle. A passwordless or strong-auth story does not remove the need to govern API keys, service tokens, and certificates that keep machine access running. Practitioners should expect zero trust maturity to be judged by credential lifecycle discipline as much as by policy language.


For practitioners

  • Inventory every credential path Map passwords, API keys, tokens, and certificates across code, pipelines, cloud services, and vaults so zero trust controls can be applied to the full credential estate.
  • Separate human and machine access rules Define different governance for human-to-machine and machine-to-machine secrets, because the access duration, rotation cadence, and revocation triggers are not the same.
  • Replace standing secrets with task-scoped access Where possible, issue credentials only for the duration of the task and remove any reusable secret that creates persistent access beyond the session boundary.
  • Track secret ownership and revocation Assign a clear owner to each secret and require revocation triggers for staff changes, service retirement, pipeline changes, or incident response actions.
  • Monitor for anomalous secret use Alert on unexpected secret reuse, access from new locations or services, and credentials that continue to authenticate after they should have been retired.

Key takeaways

  • Zero trust depends on secrets management because credentials are the practical proof objects behind authentication and authorisation.
  • The source article ties the problem to human-to-machine and machine-to-machine access, where static or scattered secrets weaken continuous verification.
  • Practitioners should treat secret inventory, rotation, revocation, and ownership as core zero trust controls rather than optional hygiene.

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 and MITRE ATT&CK address the attack and risk surface, while NIST CSF 2.0 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-02 — Secret LeakageThe article centres on exposed and scattered secrets as the failure mode that breaks zero trust.
NHI-07 — Long-Lived SecretsZero trust depends on removing standing credential trust from long-lived secrets.
NHI-05 — Overprivileged NHIThe article links secrets to least privilege and machine-to-machine access scope.
Recommendation — Scan, inventory, and revoke leaked secrets before they become trusted access paths. Replace persistent credentials with short-lived secrets where identity proof can be time-bound. Reduce secret privilege scope so each credential can only reach the minimum required resource.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsThe article is about governing access permissions through the secrets layer in zero trust.
Recommendation — Align secret issuance and revocation to explicit authorization rules and entitlement scope.
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementSecrets management is fundamentally authenticator lifecycle management for human and machine access.
Recommendation — Apply authenticator lifecycle controls to rotate, store, and revoke credentials on schedule.
MITRE ATT&CKTA0006;TA0008 — Credential Access; Lateral MovementLeaked or reused secrets enable credential access that can quickly spread across services.
Recommendation — Map exposed secrets to credential access and lateral movement paths in your detection and response work.

Key terms

  • Secrets Management: The discipline of securely storing, distributing, rotating, and auditing secrets across an organisation's systems and pipelines, typically implemented via a centralised secrets vault such as HashiCorp Vault, AWS Secrets Manager, or Akeyless.
  • Zero Trust: A security model that assumes no identity, human or non-human, should be trusted by default, even inside a network perimeter. Every access request must be verified, authorised, and continuously validated.
  • Standing Secret: A standing secret is a long-lived credential that remains valid until it is manually replaced or revoked. In practice, it expands attack exposure because the secret can outlive the service change process, especially when ownership and usage tracking are incomplete.
  • Secrets Sprawl: The uncontrolled proliferation of sensitive credentials, API keys, tokens, passwords, certificates, across codebases, cloud environments, CI/CD pipelines, and configuration files. In 2024, over 50 million leaked secrets were found on the dark web.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM programme, it is worth exploring.
NHIMG Editorial Note
Published by the NHIMG editorial team on June 23, 2026.
Updated on October 6, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org