TL;DR: Static secrets still dominate non-human identity access patterns, but they leave a bootstrap trust gap, create multicloud policy drift, and keep revoked credentials alive far too long, according to GitGuardian’s 2026 State of Secrets Sprawl report. The practical shift is toward layered identity controls that reduce standing credential exposure rather than relying on vaults alone.
At a glance
What this is: This analysis compares five alternatives to secrets managers for securing non-human identities and concludes that vaults alone do not solve the secret zero problem or multicloud access governance.
Why it matters: IAM and NHI teams need controls that verify workload identity at runtime, apply consistent policy across clouds, and reduce the blast radius of exposed credentials.
By the numbers:
- 28.65 million new hardcoded secrets were detected in public GitHub commits in 2025 alone, a 34% year-over-year increase and the largest single-year jump ever recorded.
- 64% of valid secrets leaked in 2022 are still valid and exploitable today, proving that detection alone is not enough without automated revocation.
- Internal repositories are 6x more likely to contain secrets than public ones (32.2% vs 5.6%), contradicting the assumption that private repos are safe.
- Stolen credentials were the leading initial access vector in 22% of breaches, according to the Verizon 2025 DBIR.
👉 Read Aembit's analysis of alternatives to secrets managers for non-human identities
Context
Secrets managers centralize storage and rotation, but they do not eliminate the need for a bootstrap credential, and that is the core governance gap for non-human identities. In multicloud and agentic environments, the question is not only where a secret lives, but whether the workload should hold a reusable secret at all.
For IAM and NHI practitioners, the issue is architectural. Static credentials, vault access policies, federation trust, and runtime authorization each solve a different part of the problem, and treating them as interchangeable creates blind spots. This starting point is typical for teams that have outgrown a single-cloud model and need a broader access strategy.
Key questions
Q: How should teams reduce secret zero risk in non-human identity environments?
A: Reduce secret zero risk by replacing reusable bootstrap credentials with workload identity, short-lived tokens, or certificate-based authentication wherever the target system supports it. Keep vaults for legacy dependencies, but do not let a vault become the first trust decision for production access. The goal is to make initial authentication ephemeral and tightly scoped.
Q: What is the difference between secrets management and workload IAM?
A: Secrets management stores and rotates credentials. Workload IAM verifies the identity of the workload at runtime and issues time-scoped access based on policy. The practical difference is that a vault protects a secret after it exists, while workload IAM tries to avoid creating a reusable secret in the first place.
Q: When does OIDC federation work better than a vault-based approach?
A: OIDC federation works better when workloads need to access services across clouds or trust boundaries without sharing static credentials. It is strongest when the authentication problem is identity proof, not storage. If the challenge is policy consistency across many environments, federation still needs centralized governance to avoid trust sprawl.
Q: Why do static credentials create outsized risk for AI agents and automation?
A: Static credentials give autonomous systems durable access that can be reused after the original task is complete. That expands blast radius because an exposed token can authorize many actions, often without human review. AI agents and pipelines should therefore use short-lived, task-scoped credentials with tight policy boundaries.
Technical breakdown
Secret zero and why vaults do not remove trust
A secrets manager protects stored credentials, but it does not remove the first credential needed to reach the vault. That bootstrap dependency is often called secret zero. If an attacker captures the bootstrap secret, they can request everything the vault protects, so storage and access control remain separate problems. The risk is amplified when secrets are embedded in CI/CD, SaaS integrations, or agent workflows, because the credential may exist outside the vault’s lifecycle controls. Vaults are useful for centralized handling, but they still assume a trusted path into the vault itself.
Practical implication: Review every workload that authenticates to a vault and replace long-lived bootstrap secrets where possible.
OIDC federation and runtime identity exchange
OpenID Connect federation replaces shared static credentials with signed tokens that prove workload identity at runtime. The receiving service validates the token against a trust relationship and issues a short-lived credential scoped to the request. This approach works well across cloud boundaries because the access decision happens at issuance time, not by reusing a stored secret. The main limitation is trust sprawl: as environments multiply, so do federation relationships and policy definitions. Without centralized policy governance, federation can become another configuration layer to manage rather than a clean replacement for secrets.
Practical implication: Use federation to remove shared secrets, but standardize trust policies before expanding to more clouds.
Workload IAM, mTLS, and policy-based access
Workload IAM combines identity proof, policy evaluation, and ephemeral credential issuance at request time. In parallel, mTLS and PKI can authenticate workloads with short-lived certificates, reducing reliance on static API keys. These models differ from secrets managers because access is conditional and time-scoped rather than pre-stored. The important distinction is that transport security and authorization are not the same thing. A service mesh or certificate layer can verify identity, but it still needs policy logic to decide whether a workload should access a given resource in the current context.
Practical implication: Pair runtime identity verification with explicit policy checks for sensitive APIs, databases, and agent actions.
Threat narrative
Attacker objective: The attacker aims to turn one exposed secret into broad, persistent access across workload and agent environments.
- Entry through a leaked bootstrap secret or hardcoded API key that grants access to a vault, CI/CD system, or SaaS integration.
- Escalation when the attacker uses that initial credential to retrieve additional secrets, tokens, or certificates stored for workloads and agents.
- Impact when the attacker reuses those credentials across clouds, pipelines, or APIs to impersonate non-human identities and expand access.
Breaches seen in the wild
- Moltbook AI agent keys breach — Moltbook breach exposed 1.5M AI agent keys.
- 230M AWS environment compromise — 230M AWS environments compromised via exposed .env files with cloud credentials.
Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Secrets managers are necessary controls, but they are not sufficient controls for NHI governance. They centralize secrets, yet they still depend on a trusted bootstrap path and do not solve authorization after retrieval. That means teams can have excellent vault hygiene and still carry structural exposure in the identity layer. The governance conclusion is simple: treat vaults as one component of NHI control, not the control plane itself.
Secret zero is the real design flaw in vault-first architectures. If the first credential is static, every downstream secret inherits that risk. This is why workload identity, federation, and short-lived credentials matter more than storage convenience. Practitioners should stop asking whether the vault is encrypted and start asking how the workload proves identity before any secret is issued.
Multicloud turns secret sprawl into policy sprawl. Each provider has different identity semantics, which means the same workload may carry different entitlements and rotation rules across environments. That creates a governance gap that cannot be closed by manual review alone. A consistent runtime access layer becomes the only practical way to keep access decisions aligned with business intent.
Identity blast radius is the metric that matters when static credentials outlive their intended use. Once a secret is valid for weeks or months, the question is not whether it can be stolen but how far it can move after theft. That makes short-lived credentials, continuous validation, and scope-limited entitlements the core design choices for modern NHI programs.
Workload IAM is not a vault replacement, it is a control model shift. The category matters because it changes the enforcement point from storage to decision time. For CISOs and IAM leads, that means funding the policy, trust, and attestation layer first, then deciding where vaults still have a legitimate legacy role.
From our research:
- 24,008 unique secrets were exposed in MCP configuration files in 2025 alone, the protocol's first year of widespread adoption, according to The State of Secrets Sprawl 2026.
- 28% of secrets incidents now originate outside code repositories in Slack, Jira, and Confluence, and they are 13% more likely to be categorised as critical than code-based leaks.
- For a wider view of exposed credential patterns, see Guide to the Secret Sprawl Challenge and map those findings to your remediation backlog.
What this signals
Ephemeral identity only works if revocation and policy enforcement are real. The governance error many teams make is assuming that short-lived access automatically equals low risk. In practice, agentic workflows and multicloud automation still need explicit policy review, logging, and revocation paths aligned to zero trust architecture. Teams that already use NIST AI Risk Management Framework should extend that governance to non-human identity decisions.
Identity blast radius will become a board-level metric for automation programmes. Once workloads, scripts, and agents can move across systems without human approval, the relevant control question is how far a single credential can travel before it expires or is revoked. That is where least privilege, conditional access, and secret-free authentication converge in practice.
As AI agents become more common in operational pipelines, secret sprawl will increasingly appear outside source code and inside collaboration tools, config files, and orchestration layers. Organisations that still treat secrets as a vault problem will miss the broader runtime governance issue, especially in environments using OWASP Top 10 for Agentic Applications 2026 to assess tool misuse and identity abuse.
For practitioners
- Map every bootstrap credential Inventory the secrets that workloads, pipelines, and agents use to reach the vault, then remove or shorten any credential that can be reused outside its original purpose. Prioritize secrets that unlock multiple downstream systems.
- Replace shared secrets with runtime identity proofs Use OIDC federation, mTLS, or workload IAM for systems that can authenticate with signed identity instead of a stored password or API key. Focus first on production databases, third-party APIs, and CI/CD runners.
- Limit policy drift across clouds Define one access policy model for workload identity, then map each cloud provider’s native IAM and federation settings back to that model. This reduces inconsistent entitlements when the same workload runs in multiple environments.
- Shorten credential lifetime everywhere possible Set explicit expiry for certificates, tokens, and federated credentials, then automate renewal and revocation so valid secrets do not persist after role changes, incidents, or decommissioning.
- Test for secret zero failure paths Run tabletop exercises that assume the vault bootstrap credential is exposed, then trace how far the attacker can move through stored secrets, agent credentials, and SaaS integrations.
Key takeaways
- Secrets managers reduce storage risk, but they do not eliminate the bootstrap trust problem that makes non-human identities exploitable.
- The scale of exposed credentials and their long validity window shows why detection alone is not a sufficient response.
- Teams should move toward runtime identity, short-lived access, and policy consistency across clouds before the next audit cycle.
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 address the attack and risk surface, while NIST CSF 2.0 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-01 | Static credentials and bootstrap secrets are central to this article. |
| NIST CSF 2.0 | PR.AC-4 | Least-privilege access and conditional entitlement control are core themes here. |
| NIST Zero Trust (SP 800-207) | SC-7 | Zero trust segmentation and continuous verification align to runtime workload access. |
Require continuous verification before issuing workload credentials across cloud and on-premises boundaries.
Key terms
- Secret Zero: Secret zero is the first credential needed to reach a secrets store, identity broker, or protected system. It is the root trust dependency that often survives even when everything else is rotated. If that initial credential is exposed, the rest of the secret model can collapse very quickly.
- Workload Identity: Workload identity is the cryptographic or platform-backed proof that a machine, service, or agent is allowed to act. It replaces assumptions based on network location or stored passwords with verifiable identity and policy. In NHI programs, it is the foundation for issuing access without static secrets.
- OIDC Federation: OIDC federation is a token-based trust model that lets one system accept identity assertions from another. It is commonly used to avoid static cross-environment credentials and to issue short-lived access based on trusted token claims. The control value depends on how tightly the trust relationships are governed.
- Identity Blast Radius: Identity blast radius is the amount of access that can be abused if a non-human credential is stolen or misused. It combines scope, lifetime, and privilege depth into a practical risk measure. Smaller blast radius means less opportunity for lateral movement, persistence, and automation abuse.
Deepen your knowledge
Secrets zero, workload identity, and runtime access policy are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are replacing vault-first assumptions with a broader control model, it is worth exploring.
This post draws on content published by Aembit: 5 secrets manager alternatives for securing non-human identities. Read the original.
Published by the NHIMG editorial team on 2025-12-16.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org