TL;DR: API usage rose for 92% of organisations over the past year, while many now run hundreds or thousands of undocumented shadow APIs, according to KuppingerCole’s 2025 Leadership Compass cited in Salt Security’s analysis. Point tools miss the lifecycle risk, because insecure design, weak discovery, and runtime abuse must be governed as one control plane.
At a glance
What this is: This is an analysis of why modern API security needs lifecycle coverage from design through runtime, with undocumented shadow APIs and fragmented controls emerging as the central risk.
Why it matters: It matters to IAM and security teams because API access is increasingly identity-like in practice, with authentication, authorisation, and observability controls needing to work together across human, workload, and service interactions.
By the numbers:
- 92% of organizations increased API usage over the past year
👉 Read Salt's analysis of full-lifecycle API security and runtime defense
Context
API security is increasingly a lifecycle problem, not a point-in-time testing problem. As API estates expand, undocumented interfaces, weak authentication, and inconsistent runtime monitoring create exposure that traditional perimeter controls do not see. For identity and access teams, the important question is whether API access is governed with the same discipline as other privileged access paths.
This matters for NHI governance because APIs are often fronted by service accounts, tokens, and machine-to-machine credentials that behave like non-human identities. Salt Security frames the issue as continuous protection across design, discovery, development, and runtime, which is closer to how modern identity programmes need to think about API risk than a one-off scanner model.
For practitioners looking to structure that lifecycle view, the NHI Lifecycle Management Guide and OWASP Non-Human Identity Top 10 provide a useful identity lens on discovery, rotation, and overprivilege across machine-facing access paths.
Key questions
Q: How should security teams govern API access across humans, services, and agents?
A: Security teams should govern API access by identity type, caller context, and action scope, not by whether the API is internal or protected by a gateway. Human users, service accounts, partner applications, and automated agents need different policy treatment because they create different trust and revocation problems. The control objective is to make each API call answerable at runtime.
Q: Why does shadow AI create a governance gap for IAM and security teams?
A: Shadow AI creates a governance gap because organizations cannot manage systems they do not reliably see. If AI apps, agents, and plugin connections live outside the approved inventory, then policy, risk assessment, and monitoring all start from incomplete assumptions. IAM and security teams need discovery that captures real usage, not only sanctioned assets.
Q: What breaks when API security is split between development and runtime teams?
A: When development and runtime security are split, gaps appear between what was tested and what is actually deployed. Design-time checks may catch missing authentication, but runtime abuse such as SSRF or low-and-slow exfiltration can still succeed. A divided model also makes ownership unclear, so incidents take longer to contain.
Q: Which controls matter most when APIs are called by service identities?
A: Service identities should be governed with the same discipline as human users, but with tighter scope and lifecycle controls. That means short-lived credentials, route-specific permissions, rotation, and logging that can attribute each call. If those controls are loose, API security becomes an NHI problem as much as an application problem.
Technical breakdown
Why API lifecycle security needs both shift left and shift right
API security fails when teams treat design-time testing and runtime protection as separate problems. Shift left catches missing authentication, broken authorisation, and data exposure before release. Shift right adds runtime analytics, anomaly detection, and enforcement once traffic is live. The lifecycle model matters because APIs change constantly, and new endpoints can introduce exposure after development tests are complete. Practical controls need to follow the API from design through production rather than stopping at deployment.
Practical implication: align design reviews, discovery, and runtime monitoring under one API governance workflow.
Discovery and classification of shadow APIs
Shadow APIs are undocumented or unmonitored interfaces that expand attack surface without formal governance. Discovery and classification are the control foundation because security teams cannot protect what they cannot inventory. In practice, this means identifying APIs across cloud environments, mapping business criticality, and understanding which credentials or tokens can reach them. Once classified, teams can prioritise the interfaces that carry sensitive data or privileged actions. Without this step, policy enforcement and runtime analytics are always incomplete.
Practical implication: build an authoritative API inventory before relying on policy or detection controls.
Runtime analytics, behavioural baselines, and API abuse detection
Runtime API defence depends on knowing what normal looks like for each service. Behavioural baselines let teams spot low-and-slow exfiltration, server-side request forgery, and business logic abuse that signature-based tools may miss. Context enrichment is also important because threat events need to be mapped to attacker techniques and routed into response tooling. For identity teams, this runtime layer is where token misuse, overbroad service account access, and suspicious machine-to-machine behaviour become visible as operational risk rather than abstract theory.
Practical implication: correlate API telemetry with identity and threat data so suspicious access can be acted on quickly.
Threat narrative
Attacker objective: The attacker seeks to exploit API trust boundaries to extract data or manipulate application behaviour while remaining difficult to detect.
- Entry occurs through an undocumented or weakly governed API that is exposed without full classification or ownership. Credential access or abuse follows when attackers use tokens, service accounts, or missing authentication to reach sensitive functions. Impact comes through low-and-slow exfiltration, SSRF, or business logic abuse that bypasses narrow point controls.
NHI Mgmt Group analysis
API security is becoming an identity governance problem as much as an application security problem. The article’s real signal is that machine-facing access now depends on tokens, service accounts, and API keys that behave like non-human identities. That means discovery, authorisation, and lifecycle control matter more than isolated scanning. Teams should treat API governance as part of broader identity architecture, not a separate point discipline.
Shadow API sprawl creates governance debt that compounds faster than most remediation programmes can absorb. Once undocumented APIs exist, every downstream control becomes partial: inventory is incomplete, policy coverage is uneven, and monitoring misses entire classes of access. Shadow API sprawl: the accumulation of live interfaces that lack formal ownership, classification, or continuous security oversight. Practitioners should use the concept to frame API inventory as a governance obligation, not a technical housekeeping task.
Runtime visibility is the only reliable control boundary when API behaviour changes after release. The article correctly emphasises that design-time checks alone cannot account for business logic abuse, low-and-slow exfiltration, or SSRF in live traffic. That aligns with NIST-CSF and MITRE-ATT&CK thinking: prevention, detection, and response must be linked. Security teams should assume every newly deployed API can become a new privilege path until runtime telemetry proves otherwise.
API security tooling is converging toward unified control planes because fragmented ownership no longer works. The market is moving toward platforms that combine discovery, policy, runtime analytics, and response because the failure mode is fragmented governance. For identity teams, that convergence matters: API keys, service identities, and authorisation policy increasingly sit inside the same operational surface. Practitioners should re-evaluate whether their current mix of scanners, gateways, and SIEM workflows can actually deliver continuous control.
Lifecycle discipline is now the difference between visible risk and invisible exposure. The article points to a broader market truth: if a team cannot track an API from creation to retirement, it cannot prove the access path is safe. That is especially relevant where APIs mediate sensitive human, workload, or partner identities. The practitioner conclusion is simple: security teams need one operational model that covers build, discover, run, and retire.
What this signals
API governance is converging with identity governance. As APIs increasingly depend on service accounts, secrets, and tokens, the operational question becomes whether those identities are discoverable, reviewable, and revocable on the same cadence as application changes. Teams that already struggle with NHI sprawl should expect the same pattern to appear in API estates, with exposure growing faster than manual controls can absorb.
Lifecycle blind spots will keep expanding attack surface until ownership becomes machine-readable. The practical implication is that security programmes need authoritative linkage between API assets, credential sources, and telemetry. NHI Lifecycle Management Guide is relevant here because the same control logic applies to machine credentials and the APIs they unlock. The teams that can connect identity lifecycle to runtime monitoring will reduce invisible exposure first.
Runtime controls are now a prerequisite for credible API risk reduction. Static assessment still matters, but the article points to a larger trend: attackers exploit behaviour, not just misconfiguration. OWASP Non-Human Identity Top 10 provides the right vocabulary for the credential and privilege issues that sit underneath API abuse. Practitioners should prepare for stronger policy enforcement around tokens, ownership, and access pathways.
For practitioners
- Create a full API inventory with ownership attached Map every API to a business owner, data class, and authentication method. Include undocumented and externally facing interfaces, then validate the inventory against cloud accounts, gateways, and code repositories. Use this as the baseline for policy and monitoring coverage.
- Enforce design-time policy checks before deployment Block release when APIs lack authentication, expose sensitive data unnecessarily, or violate approved policy rules. Use preconfigured controls where possible, but require a sign-off path for exceptions so insecure APIs do not enter production unnoticed.
- Instrument runtime telemetry for machine-to-machine abuse Track request patterns, token use, data volume, and unusual access sequences across live traffic. Feed that telemetry into SIEM and response workflows so low-and-slow exfiltration and business logic abuse can be triaged with context.
- Tie API governance to identity lifecycle controls Review which service accounts, secrets, and tokens can reach each API, then rotate or retire them on the same schedule as application changes. This reduces the gap between API retirement and lingering credential access.
Key takeaways
- API security has outgrown point tools because the risk now spans design, discovery, deployment, and live traffic.
- Undocumented APIs and machine credentials create the governance gap that allows abuse to stay hidden until data moves.
- Teams need one lifecycle model for APIs and their identities if they want to reduce exposure instead of just observing it.
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, NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-01 | Undocumented APIs and machine credentials map to non-human identity discovery and governance gaps. |
| MITRE ATT&CK | TA0006 , Credential Access; TA0010 , Exfiltration | The article highlights token abuse and low-and-slow exfiltration through API paths. |
| NIST CSF 2.0 | PR.AC-4 | Least-privilege authorisation is central to API access governance. |
| NIST SP 800-53 Rev 5 | IA-5 | API keys, tokens, and service credentials require authenticator lifecycle control. |
| CIS Controls v8 | CIS-5 , Account Management | API-linked service accounts and secrets need ownership and lifecycle management. |
Map API abuse scenarios to credential access and exfiltration tactics, then prioritise telemetry on those paths.
Key terms
- Shadow API: An API endpoint that exists in production but is not fully known, reviewed, or governed by the security programme. Shadow APIs often emerge through fast delivery, copy-paste development, or overlooked internal routes, and they create untracked exposure because they sit outside inventory, policy, and ownership processes.
- Shift Left: Shift left means moving security checks earlier in the software delivery process, especially into design and development. For APIs, that includes validating authentication, authorisation, and data handling before release so weaknesses are caught before they become production exposure.
- Shift Left: Shift left is the practice of moving security checks earlier in the software development lifecycle, usually into planning, code review, or build steps. It reduces some defects before deployment, but by itself it does not control runtime behaviour, identity sprawl, or secrets misuse after release.
- Posture Governance: Posture governance is the policy and control layer that identifies whether an API meets required security conditions before it is deployed. It focuses on configuration, authentication, exposure, and compliance checks, giving teams a repeatable way to stop insecure interfaces from entering production.
What's in the full article
Salt's full analysis covers the operational detail this post intentionally leaves for the source:
- Detailed breakdown of the Posture Governance engine and the 70 pre-configured policy rules used to enforce API controls.
- Cloud Connect discovery workflow for AWS, Azure, and GCP, including how it finds assets without sensors.
- Runtime analytics, AI/ML detection, and MITRE ATT&CK event enrichment used to flag API abuse.
- Practical mitigation routing into SIEMs, WAFs, and gateways for live response and enforcement.
Deepen your knowledge
NHI Mgmt Group’s NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, machine identity security, and secrets management. It is designed for practitioners who need to connect identity controls to broader security operations and governance.
Published by the NHIMG editorial team on August 2, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org