An offboarded contractor’s SSH key remains embedded in a CI job that automatically provisions cloud resources. The same static credential is also used by a nightly batch process that runs with full admin rights on a Kubernetes cluster. When the contractor leaves, the key is never revoked, and the batch job continues to execute privileged commands unchecked. This pattern is common in teams that treat privileged access management (pam) as a static secret stored in code or a vault, then assume that the secret itself provides sufficient control.
Most organizations have moved to a model where non‑human identities, service accounts, OIDC tokens, or short‑lived IAM roles, are assigned to each automation pipeline. The idea is to replace long‑lived keys with identities that can be scoped to the minimum set of permissions needed for a particular job. While this reduces the blast radius of a compromised credential, it does not address the fact that the request still travels directly to the target system without any visibility, approval step, or data‑level protection. The automation still talks straight to the database or the Kubernetes API, and any command it issues is executed with the granted rights, leaving no audit trail of what was actually run.
Pam alone is not enough for secure agent orchestration
When pam is implemented only at the identity layer, three gaps remain:
- Missing runtime enforcement. The system cannot block a dangerous command once the request is in flight.
- No session recording. If a job misbehaves, there is no replayable log to investigate.
- Absence of inline data protection. Sensitive fields returned by a database query are exposed to the automation without masking.
These gaps become especially problematic when agents are orchestrated across multiple environments, databases, Kubernetes clusters, SSH endpoints, because each target can leak data or be abused in ways that static identity policies cannot foresee.
Introducing hoop.dev as the access gateway
hoop.dev solves the missing pieces by inserting a Layer 7 gateway between the orchestrated agent and the target infrastructure. The gateway becomes the only place where enforcement can happen, turning abstract pam policies into concrete, observable actions.
Setup: identity and least‑privilege grants
First, each automation process authenticates to hoop.dev using an OIDC or SAML token issued by the organization’s identity provider. The token conveys the service account’s group membership and any attached attributes. hoop.dev validates the token and maps it to a set of least‑privilege roles that define which resources the agent may request. This step decides who the request is and whether it may start, but it does not enforce any command‑level controls.
The data path: the gateway enforces policies
All traffic from the agent to the target passes through hoop.dev. Because the gateway sits on the data path, it can inspect each protocol message in real time. hoop.dev can:
