Subscribe to the Non-Human & AI Identity Journal

What is the difference between routing traffic and governing identity at the edge?

Routing traffic is about moving requests to the right destination. Governing identity at the edge is about deciding who or what may reach that destination, under what conditions, and with what evidence for audit and revocation. The second is an identity control problem, not just a network one.

Why This Matters for Security Teams

Traffic routing and identity governance often get conflated because both happen at the edge, but they solve different problems. Routing decides where packets or requests go. Identity governance decides whether a request should be trusted, limited, logged, or denied based on who or what is acting. That distinction matters most where APIs, service accounts, and machine workflows cross trust boundaries.

This is especially important in NHI environments, where identities are numerous, highly privileged, and frequently overlooked. NHI Mgmt Group notes that NHIs outnumber human identities by 25x to 50x in modern enterprises, and only 5.7% of organisations have full visibility into their service accounts in the Ultimate Guide to NHIs. Routing alone cannot answer whether a token is expired, a workload is allowed in this context, or an integration should be revoked after a change. Current guidance in the NIST Cybersecurity Framework 2.0 and NHI research both point to the same operational reality: the edge has become an identity decision point, not just a forwarding layer.

In practice, many security teams discover the gap only after a valid credential is reused from an unexpected path, rather than through intentional edge governance design.

How It Works in Practice

Routing at the edge is primarily concerned with destination selection, service health, latency, and failover. Identity governance at the edge adds a separate control plane that evaluates the caller, the workload, and the request context before access is granted. That means the edge can act as a policy enforcement point, not merely a traffic director.

A practical design usually combines workload identity, runtime authorization, and credential lifecycle controls. For machine-to-machine traffic, the identity primitive is often cryptographic proof of what the workload is, not just where it came from. Approaches such as SPIFFE-based workload identity or OIDC-backed service tokens let the edge validate the caller before policy is applied. That validation should then feed real-time decisions, ideally using policy-as-code, rather than static allowlists that are blind to context.

  • Authenticate the workload first, then route the request.
  • Evaluate policy at request time using role, destination, method, environment, and risk signals.
  • Issue short-lived credentials or tokens per task instead of relying on long-lived static secrets.
  • Log the identity decision separately from the traffic path for audit and incident response.

For teams mapping this to broader NHI governance, the Lifecycle Processes for Managing NHIs guidance is a useful reference point, especially where revocation and rotation must happen without waiting for manual network changes. The core difference is that routing can move a request even when trust is unknown, while identity governance should block or constrain that request until trust is established.

These controls tend to break down in flat service-mesh environments where every internal hop is implicitly trusted because identity checks are applied too late, or not at all.

Common Variations and Edge Cases

Tighter identity control at the edge often increases latency, policy complexity, and operational overhead, so organisations have to balance trust assurance against release velocity. That tradeoff is real, especially when platforms support both human users and autonomous services through the same ingress path.

One common edge case is TLS termination. If the edge only forwards decrypted traffic without evaluating the caller identity, then it is acting as a router with better telemetry, not as an identity gate. Another is multi-tenant or third-party traffic, where the edge may need to enforce tenant-specific identity policy rather than a single global rule set. Current guidance suggests that these environments benefit from layered controls: routing for resilience, identity for trust, and revocation for containment.

This is also where NHI risk becomes visible. NHI Mgmt Group reports that 97% of NHIs carry excessive privileges in the Ultimate Guide to NHIs, which means the edge must do more than admit traffic. It must continuously limit what the admitted identity can do after entry. That is why the 52 NHI Breaches Analysis is useful context: the failure is rarely routing alone, but permissive identity handling that lets valid traffic become valid abuse.

Best practice is evolving, but there is no universal standard for this yet. The operational takeaway is simple: routing decides the path, while identity governance decides whether the journey should happen at all.

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 Edge identity checks depend on controlling NHI access and trust boundaries.
NIST CSF 2.0 PR.AC-4 Access permissions at the edge map directly to least-privilege enforcement.
NIST Zero Trust (SP 800-207) 5.2 Zero Trust requires continuous verification instead of implicit network trust.

Enforce workload identity verification before edge admission and tie each route to a governed NHI.