Subscribe to the Non-Human & AI Identity Journal

What do organisations get wrong about secrets managers?

Many organisations assume a secrets manager solves the problem once the credential is stored centrally. In practice, it only improves handling and retrieval. If the secret remains fixed, cached, or broadly accessible at runtime, the underlying identity risk remains largely unchanged.

Why This Matters for Security Teams

Secrets managers are often treated as a finish line, but that mindset confuses centralised storage with real runtime control. A vault can reduce copy-paste sprawl and improve auditability, yet it does not automatically shorten secret lifetime, constrain where a token can be used, or stop a workload from exfiltrating what it can already read. That gap is why credential exposure keeps surfacing in CI/CD, developer tooling, and shared automation paths.

NHI Management Group’s Guide to the Secret Sprawl Challenge shows how hidden distribution paths often outlive the intended control plane. The risk is not only leakage; it is also over-broad retrieval, stale access, and secrets that remain valid long after the system that needed them has changed. NIST’s Cybersecurity Framework 2.0 reinforces that protection is a lifecycle problem, not just a storage problem. In practice, many security teams encounter secret compromise only after a pipeline, repo, or collaboration workspace has already been used as the easiest path in.

How It Works in Practice

A secrets manager is best understood as a controlled retrieval service, not an identity strategy. It stores credentials, enforces some access policy, and may rotate values on a schedule. That helps, but organisations still need to decide who or what can request a secret, under what conditions, for how long, and whether the resulting credential is bound to a specific workload, environment, or task.

The strongest patterns pair the vault with workload identity and short-lived issuance. For non-human identities, that means the system requesting the secret should prove what it is through cryptographic workload identity, then receive just enough access for a narrowly defined purpose. NHI Management Group’s Ultimate Guide to NHIs — Static vs Dynamic Secrets is clear on the operational distinction: dynamic secrets reduce reuse and shrink blast radius, while static secrets simply centralise risk.

Practically, mature teams usually apply four controls together:

  • Issue secrets just in time, with short TTLs and automatic revocation on task completion.
  • Restrict retrieval by workload identity, not by human convenience or shared service accounts.
  • Log secret access separately from secret storage, so usage can be reviewed after the fact.
  • Rotate or invalidate secrets when code, pipeline, or deployment context changes.

OWASP’s Non-Human Identity Top 10 frames the core issue well: unmanaged machine credentials behave differently from human logins because they are embedded into automation and can be copied at machine speed. This is why a secrets manager must be integrated with runtime policy and workload scoping, not used as a secure password shelf. These controls tend to break down when legacy apps cache credentials in memory or when multiple pipelines share the same service principal, because revocation and attribution become ambiguous.

Common Variations and Edge Cases

Tighter secrets handling often increases operational overhead, requiring organisations to balance faster developer workflows against shorter credential lifetimes and more frequent re-authentication. That tradeoff matters because not every environment can adopt dynamic secrets at the same pace.

Best practice is evolving for edge cases such as air-gapped systems, long-lived industrial integrations, and vendor appliances that cannot renew tokens cleanly. In those environments, current guidance suggests compensating with segmentation, vault-only retrieval paths, stronger monitoring, and narrower scope rather than pretending static credentials are safe by default. It also helps to distinguish between secrets that can be rotated automatically and those trapped in firmware, build tooling, or external APIs.

NHI Management Group’s Top 10 NHI Issues and Guide to the Secret Sprawl Challenge both point to the same failure mode: centralising secrets does not eliminate shadow copies, embedded tokens, or stale access paths. The most common mistake is assuming the vault is the control, when the real control is whether the secret can still be used, copied, and abused after issuance. Where teams rely on static credentials for shared integrations or broad platform automation, that guidance becomes weak because the blast radius remains larger than the vault can see.

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 CSF 2.0 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Non-Human Identity Top 10 NHI-03 Addresses improper lifecycle control of machine secrets and tokens.
NIST CSF 2.0 PR.AC-4 Secret access is an access control problem, not just storage hygiene.
NIST CSF 2.0 DE.CM-8 Secrets misuse is often only visible through monitoring and alerting.

Track every non-human secret to issuance, scope, rotation, and revocation.