Ask most organisations how many people have access to their systems and they can give a reasonable answer. Ask how many service accounts, API keys, OAuth tokens, certificates and workload identities have access, and the answer is usually a guess.
These non-human identities do the quiet work of modern IT: applications talking to databases, pipelines deploying code, SaaS tools syncing with each other. They often hold broad, permanent access. Many have no named owner, have never been rotated, and were created by someone who left years ago. Attackers know this.
How big the problem has become
The ratio keeps climbing. The Palo Alto Networks (Idira) 2026 Identity Security Landscape found 109 machine identities for every human, with AI agents a growing share. The 2025 edition, published by Idira (CyberArk), had reported 82 machine identities for every human. Those are vendor survey figures, but they match what most identity teams see when they run proper discovery.
The secrets that these identities rely on are leaking at scale. GitGuardian's State of Secrets Sprawl 2026 counted about 28.65 million new hardcoded secrets on public GitHub in 2025, a 34% rise on the year before, with secrets for AI services up 81%. The same research found that more than 64% of secrets confirmed valid in 2022 were still valid in January 2026. Internal repositories were around six times more likely to contain secrets than public ones, and about 28% of incidents originated entirely outside code repositories, in places such as Slack, Jira and Confluence.
IBM's analysis of its 2026 Cost of a Data Breach research found that fewer than half of organisations actively secure non-human identities.
The Salesloft Drift incident in August 2025 showed what this looks like in practice. According to Google Threat Intelligence Group (2025), attackers used compromised OAuth tokens from the Salesloft Drift third-party integration to export large volumes of data from connected Salesforce instances, then searched it for further secrets such as cloud access keys. Valid tokens meant there was no password to crack and no MFA prompt to bypass.
Why common approaches fall short
Treating service accounts as a PAM afterthought
Many PAM programmes onboard human administrators first and plan to do service accounts later. Later rarely comes, because service accounts are harder: rotating a password can break an application, and nobody is sure which one.
Scanning without remediation
Secrets scanning tools are now common. They produce long lists of findings. Without an owner for each identity and an agreed way to rotate, findings pile up and the old secrets stay valid, which is exactly what the GitGuardian data shows.
Privileged means people
If your definition of a privileged account covers only humans, your reviews, monitoring and controls will miss the identities that often hold the most access.
Tokens and integrations sit outside identity
OAuth grants and SaaS-to-SaaS connections are frequently approved by business users and never reviewed again. They do not appear in the directory, so traditional identity governance does not see them.
What good looks like
1. Build an inventory that includes ownership
Discover non-human identities across directories, cloud platforms, CI/CD pipelines, secrets stores and SaaS admin consoles. For each, record what it is for, what it can access and which named person or team owns it. An identity without an owner is a finding in its own right.
2. Classify by blast radius
Not every API key matters equally. Rank identities by what they could reach if compromised: production data, payment systems, identity infrastructure, customer platforms. Put the effort where the impact is highest.
3. Get secrets out of code and chat
Move credentials into a managed secrets store or your PAM platform, and have applications retrieve them at runtime. Where platforms support it, replace static secrets with short-lived, federated workload identities so there is nothing long-lived to leak.
4. Rotate on a schedule, and on exposure
Agree a rotation standard by tier, test it, and automate it. When a secret is exposed, revoke and rotate it immediately; deleting the commit is not enough, because the secret may already have been copied.
5. Govern third-party tokens
Review OAuth grants and SaaS integrations as part of access recertification. Limit scopes, set expiry where possible, and remove integrations that are no longer used. Include them in supplier offboarding.
6. Monitor behaviour
Machine identities are predictable. A service account that normally talks to one database from one host should raise an alert when it logs in interactively or from somewhere new. Feed these signals into your identity threat detection.
7. Make it routine
Add non-human identities to joiner-mover-leaver processes: when an application is retired, its identities are retired; when an owner leaves, ownership is reassigned. Report the numbers each quarter.
Common objections
"Rotating that password will break production." It might, which is why rotation needs to be tested and owned. Start with identities where the dependency is understood, build confidence, and use the discovery data to map dependencies for the rest. An untested, unrotated credential is itself a production risk.
"We don't know who owns half of these accounts." That is normal at the start. Set a deadline for owners to claim accounts, then disable unclaimed ones in a controlled way with a clear route to re-enable them. Ownership usually appears quickly once something stops working.
"Our developers will push back on a secrets manager." Developer friction is real. Offer a simple, supported pattern for retrieving secrets at runtime, integrate it into the pipeline templates teams already use, and make the secure route the easiest one.
Metrics worth reporting
- Number of non-human identities discovered, and the percentage with a named owner.
- Percentage of high-impact secrets in a managed store with automated rotation.
- Mean time to revoke an exposed secret.
- Number of third-party OAuth grants reviewed in the last quarter.
Where to start
Most organisations already own tools that can do much of this, whether that is a PAM platform such as Idira (CyberArk), Delinea, BeyondTrust or IBM Verify Privilege, a cloud secrets manager, or discovery tooling such as Hydden. The missing piece is usually the operating model around them. The AMS Identity Posture Assessment gives you an Identity Posture Score for each identity domain, an indicative estimate of loss exposure in £ and a risk-ordered roadmap. To talk through your estate, contact one of our consultants.