TL;DR: Secrets management platforms do more than store API keys and tokens, but scanning, rotation, alerts, and dark web checks still leave lifecycle, context, and approval gaps that attackers exploit, according to Entro Security. The core issue is not storage alone but governance of exposure, reuse, and revocation across applications and cloud environments.
At a glance
What this is: This is an analysis of what secrets management tools and platforms actually do, and the key finding is that storage alone is not enough without lifecycle control, visibility, and automated response.
Why it matters: It matters to IAM practitioners because secrets behave like non-human identities in practice, and weak lifecycle control creates exposure across NHI, autonomous, and human governance programmes.
By the numbers:
- 64% of valid secrets leaked in 2022 are still valid and exploitable today, proving that detection alone is not enough without automated revocation.
- 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.
- 91% of former employee tokens remain active after offboarding, leaving organisations vulnerable to potential security breaches.
👉 Read Entro Security’s blog on secrets management tools and platforms
Context
Secrets management is not just about storing API keys, tokens, and certificates in a vault. It is about governing how those credentials are discovered, issued, used, rotated, and retired across applications, pipelines, and cloud services.
That matters because secrets behave like non-human identities with privileges attached. When teams treat a secret as a static artefact instead of a governed identity, they lose visibility into reuse, overexposure, and offboarding gaps that turn routine access into systemic risk.
Entro Security’s article is a broad explainer of secrets management platforms, but the practitioner problem is more specific: the security value comes from lifecycle control, not from encrypted storage alone. That is the typical starting point for modern teams, and the article correctly points toward the gap between vaulting and governance.
Key questions
Q: How should security teams govern secrets across code, pipelines, and collaboration tools?
A: Security teams should treat secrets as governed identities, not static strings. Discovery needs to cover repositories, build systems, chat, tickets, and cloud configs, then link each secret to an owner, usage pattern, and retirement condition. Without that lifecycle view, teams will find leaks but still fail to remove the access they expose.
Q: Why do leaked secrets remain dangerous after detection?
A: Detection only proves that a secret is exposed. The risk persists until the credential is rotated, revoked, or replaced, because attackers can often reuse it immediately against trusted services. If the same secret is duplicated across environments or applications, one leak can create multiple paths to compromise.
Q: What do security teams get wrong about secrets vaults?
A: They often assume the vault is the control. In practice, the vault is only one storage layer, while the larger problem is the secret’s life outside the vault, including copies in code, tickets, and messages. Mature governance measures exposure, ownership, and revocation rather than storage alone.
Q: How do organisations know whether secrets management is actually working?
A: Look for fewer exposed duplicates, faster revocation after discovery, and clear ownership for every credential. If secrets still appear in multiple locations or remain active after offboarding, the programme is producing alerts without reducing attack surface. The goal is measurable reduction in standing exposure, not just more findings.
Technical breakdown
Secrets vaults versus secrets lifecycle management
A vault is a storage control. It encrypts secrets at rest and limits who can retrieve them, but it does not by itself explain whether a secret is overused, stale, or exposed in collaboration tools. A lifecycle platform adds discovery, context, policy enforcement, logging, and rotation across the places secrets actually move. That distinction matters because most compromise paths begin outside the vault, in code, tickets, logs, or pipelines, and the real governance problem is whether the organisation can see and act on those exposures before the secret is abused.
Practical implication: separate storage capability from lifecycle governance when evaluating secrets tooling.
Secrets scanning across code, CI/CD, and collaboration tools
Secrets scanning looks for exposed credentials in repositories, build pipelines, container images, and collaboration platforms. Its job is not just pattern matching, because modern leaks often appear in Jira, Slack, Confluence, and commit history where normal vault controls never reach. The strongest implementations combine detection with context, such as ownership, usage history, and risk level, so teams can prioritise what matters. Without that context, scanning becomes a noisy alert stream rather than an operational control.
Practical implication: expand scanning beyond code repositories and assign ownership to each exposed secret.
Automation, anomaly detection, and real-time alerts
Automation changes secrets management from a retrospective audit function into a response function. When a secret is exposed, the platform can trigger policy actions, notify responders, and in some cases rotate or disable access before the exposure becomes a breach. Anomaly detection adds behavioural context by flagging secrets used in unexpected ways, such as unusual access frequency or unfamiliar locations. The technical value is speed plus prioritisation, but only if the organisation has clear revocation paths and can trust the alert quality.
Practical implication: define automated revocation and escalation paths before you rely on detection.
Threat narrative
Attacker objective: The attacker wants to turn leaked secrets into durable, trusted access that bypasses normal authentication controls and exposes connected systems.
- Entry occurs when secrets are exposed in code repositories, CI/CD systems, or collaboration tools rather than being kept inside controlled vaults.
- Credential access follows when attackers recover hardcoded API keys, tokens, or certificates and reuse them against cloud or application services.
- Impact occurs when exposed secrets are used to impersonate trusted workloads, access sensitive systems, or move laterally through connected services.
Breaches seen in the wild
- Sisense breach — unauthorized GitLab access led to exfiltration of access tokens, API keys and certificates.
- Google Firebase misconfiguration breach — Firebase misconfigurations exposed 19.8M secrets across developer instances.
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 management is really non-human identity governance in disguise. API keys, tokens, and certificates behave like identities because they carry access, scope, and lifecycle obligations. The article treats them as storage objects, but practitioners should read them as governed access instruments that need ownership, rotation, and retirement. That framing is the difference between vault administration and identity security discipline.
Static secret storage creates trust debt the moment a credential is copied. Once the same secret appears in code, tickets, pipelines, and chat tools, the organisation no longer has a single control point. That is why the relevant failure mode is not storage failure alone but secret proliferation across uncontrolled contexts. The implication is that teams must treat every duplicate secret as a separate exposure surface.
Contextual discovery matters more than raw detection volume. A platform that finds secrets without ownership, usage, and business context cannot tell you which credential is safe to leave alone and which one is already too widely distributed. That is why lifecycle enrichment is the real control plane for NHI-style secrets governance, not the vault itself. Practitioners should judge tools by whether they turn discovery into revocation decisions.
Forward-looking NHI programmes will converge secrets, workload identity, and access lifecycle controls. The market is moving away from isolated secret vaulting toward continuous governance across credentials, service accounts, and automated workloads. That direction validates zero standing privilege thinking across non-human access, because every persistent secret becomes an identity with an attack path. Teams should align secrets management with broader identity governance, not treat it as a separate niche.
Auditability is the missing discipline in most secrets programmes. The article correctly points to alerts and monitoring, but alerts without reliable lineage only prove that a secret exists somewhere. What matters is whether the organisation can tie each secret to a purpose, an owner, and a removal condition. Practitioners should build for explainable access, not just encrypted storage.
From our research:
- 64% of valid secrets leaked in 2022 are still valid and exploitable today, proving that detection alone is not enough without automated revocation, according to The State of Secrets Sprawl 2026.
- 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.
- If your programme is already dealing with overexposed credentials, the Guide to the Secret Sprawl Challenge shows how discovery, prioritisation, and remediation fit together.
What this signals
Secrets sprawl is now an identity lifecycle problem, not just a DevSecOps hygiene issue. Teams that leave ownership and retirement undefined will keep rediscovering the same credentials in new places, because copy propagation is a governance failure, not a tooling defect. The practical signal is to build exposure reduction metrics around revocation speed and duplicate elimination, not alert counts alone.
Static credential reuse is creating identity blast radius. When one secret unlocks multiple applications, the compromised unit is no longer a single key but a shared access fabric. That means programme leaders should prioritise workload identity and ephemeral access patterns where feasible, because the control objective is shrinking the blast radius of every credential. See the OWASP Non-Human Identity Top 10 for the broader pattern.
The next maturity step is control-lineage visibility. Security teams need to know where a secret came from, who owns it, where it is used, and what event will retire it. Without that lineage, rotation becomes a periodic ritual rather than a security control. For broader identity programme alignment, anchor the control model in the NIST Cybersecurity Framework 2.0.
For practitioners
- Map every secret to an accountable owner Require a named system owner, business purpose, and expiry condition for each API key, token, and certificate so review does not stop at storage inventory.
- Expand scanning beyond source code Include CI/CD runners, Slack, Jira, Confluence, container images, and cloud configuration files in discovery so leaks outside repositories are not missed.
- Automate revocation after exposure Connect detection to disablement or rotation workflows so a leaked credential is withdrawn before attackers can reuse it across services.
- Measure secrets reuse across applications Track when a single NHI-style secret is shared by multiple applications, because reuse turns one compromise into a multi-system incident.
- Tie secret retirement to lifecycle events Revoke credentials during offboarding, service replacement, and application decommissioning rather than waiting for periodic cleanup.
Key takeaways
- Secrets management is a lifecycle and governance problem, not a storage problem.
- Exposed credentials remain dangerous until they are revoked, rotated, or removed from every place they were copied.
- Teams should measure ownership, reuse, and revocation speed, because those signals show whether secrets control is actually reducing attack surface.
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 | Directly addresses secret exposure and reuse across applications. |
| NIST CSF 2.0 | PR.AC-1 | Access control and credential management are central to the article's governance problem. |
| NIST Zero Trust (SP 800-207) | PR.AC-4 | Zero trust requires limiting standing access created by long-lived secrets. |
Inventory secrets, eliminate duplication, and tie every credential to a clear owner and expiry condition.
Key terms
- Secrets Lifecycle Management: Secrets lifecycle management is the practice of governing credentials from creation to retirement. It covers discovery, storage, access, rotation, monitoring, and revocation so that API keys, tokens, and certificates do not remain active beyond their intended use or spread into uncontrolled locations.
- Secret Sprawl: Secret sprawl is the uncontrolled duplication of credentials across code, tickets, chat, pipelines, and cloud systems. It increases the attack surface because each copy can become an exposure point, and it makes ownership and revocation harder to execute consistently.
- Standing Exposure: Standing exposure is the period during which a secret remains usable after it has been created or leaked. The longer that exposure lasts, the more time attackers have to discover and reuse the credential, especially when revocation is manual or delayed.
- Non-Human Identity: A non-human identity is an access-bearing entity such as a service account, token, API key, or certificate. In secrets governance, the term matters because these credentials carry permissions and lifecycle obligations even when they are not tied to a human user.
What's in the full article
Entro Security's full blog covers the operational detail this post intentionally leaves for the source:
- Platform-specific descriptions of how its secret scanning and enrichment workflow operates across cloud services and collaboration tools
- Implementation examples for automated rotation, alerting, and remediation inside real enterprise environments
- Vendor-specific coverage of Azure Key Vault, AWS Secrets Manager, and Google Cloud Secret Manager integration patterns
- Dark web scanning workflow details that go beyond the governance framing in this analysis
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 responsible for identity security strategy or NHI governance in your organisation, it is worth exploring.
Published by the NHIMG editorial team on 2023-10-22.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org