During a nightly build, an AI‑powered code‑generation agent pulls a service‑principal token from Entra and immediately begins issuing database queries. The token was created for a broad data‑science workload and carries read‑write rights across multiple schemas. When the agent mis‑interprets a generated snippet, it runs a destructive command that drops a table, and the incident goes unnoticed until a downstream alert fires.
This scenario illustrates a core challenge of non-human identity. Service principals, CI jobs, and other automated identities are often granted wide‑area permissions to keep pipelines simple. Those permissions are static, rarely reviewed, and the identities themselves have no built‑in visibility into what they actually do once they reach a target system.
Entra can issue OIDC or SAML tokens that prove an automated process is who it claims to be. The token verification step decides who may start a connection, and it can enforce expiration or audience constraints. However, after the token is accepted, the request travels directly to the backend – a database, a Kubernetes API, or an SSH daemon – without any intervening control point. The connection arrives with the full set of privileges encoded in the token, and the target system sees only a regular client. No audit trail is created at the gateway, no data is masked, and no just‑in‑time approval step can intervene. In short, the Entra identity alone does not provide the runtime guardrails needed for high‑risk automation.
Why the data path must host enforcement for non-human identity
To turn a permissive token into a controlled session, the enforcement layer must sit between the identity provider and the target resource. That layer is the only place where request attributes – the user, the group membership, the requested command – can be examined before they reach the backend. By placing a gateway in the data path, you gain a single point where policies such as just‑in‑time access, command approval, inline masking, and session recording can be applied uniformly across all supported protocols.
Introducing hoop.dev as the enforcement gateway
hoop.dev fulfills this role. It receives the Entra‑issued token, validates it, and extracts the identity and group claims. It then consults policy definitions to decide whether the request may proceed, whether an approval workflow is required, and which data fields should be masked in responses. Because hoop.dev is the only component that sees the traffic before it reaches the target, every enforcement outcome originates from it.
