Enforcement plane

Protect sensitive actions with Gate

Gate checks permission before a protected API request or agent tool can transfer funds, release records, or change data. Give the receiving service a way to allow the specific action and refuse a request that exceeds the approved terms.

  • Proxy
  • SDK
  • MCP
  • Sidecar

Choose the actions that need stronger approval

Start with the operations where copied credentials can cause the most harm. Require fresh approval for a transfer, an administrative change, or an export. Extend the check to each route, tool, and background path that can create the protected effect.

Gate fits alongside your existing identity service, gateway, and transport security. The application checks permission for the actual request before it acts. Read the reference architecture for integration, storage, and recovery requirements.

What Gate changes for protected routes

A service can record an approval as used and decline another submission of the same proof. For an operation that may be retried, define how authorized callers can recover the existing outcome from the service.

Gate at the boundary

The request reaches Gate before the application handler, where the configured checks produce an allow or reject decision. The pattern replaces an authorization layer while allowing identity and transport controls to coexist.

Scope authority to the action

Bind the decision to the route, method, policy, and request that will reach the resource.

Reduce the value of captured secrets

Record one-use state with the authorization decision so the same proof cannot authorize a second action.

Gate records route policy, request freshness, nonce use, and the reason for each allow or denial. These records give operators a clear view of how protected actions were handled.

Choose where Gate fits

Gate form factors

The four panels show reverse proxy, SDK middleware, MCP wrapper, and sidecar options around one envelope contract. Check the accompanying product text for the current maturity of each form factor.

Place Gate at the boundary that fits the service: in the network path, inside the application, beside a workload, or between an agent host and its tools.

Place proof enforcement in front of an existing service while preserving upstream application handlers.

In reverse-proxy form, Gate terminates proof in front of an existing service without requiring application changes.Reported implementationgateway-service on port 8095 with /gate/challenge and /gate/invoke.

The Gate reverse proxy sits behind your existing edge (nginx, Envoy, HAProxy, Kong, an API gateway, or a service mesh ingress) and in front of the protected upstream. Authentication still terminates upstream of Gate. Gate replaces the authorization layer that today is a Bearer token, an API key, or a long-lived JWT.

How you integrate it

  • Place the Gate reverse-proxy process on the network path between your existing edge and the upstream service.
  • Register the protected endpoint in Control and issue circuits for the callers that need to reach it.
  • Configure each protected route with an endpoint_id, a policy_hash, a method allow-list, a TTL, and a freshness window.
  • Point clients at /gate/challenge to negotiate and /gate/invoke to send; confirm Control emits burn events and access logs.

When to choose reverse proxy

  • Protect a service while preserving its existing application code.
  • The natural enforcement point is at the edge or in the DMZ, and you already terminate TLS and run a WAF there.
  • Several backends share one Gate instance with different per-route policy.
  • Use the reverse proxy to place enforcement between the existing edge and the protected service.

How Gate evaluates a request

The ordered checks identify why a request was accepted or rejected. Gate binds the proof to the route and records one-use state before validating the proof.

How a Gate decides

Read the pipeline left-to-right: each Gate stage checks binding, freshness, and burn order before allow. Gold highlights burn-before-validate so replay dies at the ledger, not after crypto. Takeaway: enforcement order is part of the security claim, not a UX detail.

  1. Recompute the request hash
  2. Check endpoint and policy
  3. Confirm the circuit is active
  4. Check freshness
  5. Burn the nonce
  6. Validate the proof
  7. Apply application policy
  8. Serve the request

The request sequence checks the envelope, request binding, ledger reservation, nonce consumption, cryptographic proof, and policy. Rejection records identify the stage that handled each request.

Open the full security architecture →

Operating Gate in a real service

Gate puts request authorization, identity lifecycle, and decision records within the service’s operating model.

Where Gate sits

Gate sits between the service’s existing edge and the protected route, inside the application process, alongside a workload, or at the agent tool boundary. Identity and transport authentication continue to use their assigned controls.

Runtime footprint

Gate connects to Control for identity and nonce state. The deployment assigns process placement, network paths, ledger persistence, and operations to the selected managed or self-hosted topology.

Failure mode

The route policy defines fail-closed behavior and any explicit break-glass process. Gate records the setting and the emergency access decision for operator review.

Observability

Gate records burn events, stage-based rejection reasons, and access logs. Operators can use those records to review requests, policy decisions, and resource effects.

What an integration changes

A client presents proof material bound to request fields such as method, endpoint, body hash, policy, and freshness. Gate checks those fields with the endpoint policy, identity state, and nonce ledger. Pass+ provides the human-facing password-entry experience.

Decisions to make for each protected route

These settings determine what the service accepts, how long a proof remains useful, and how the route behaves when a dependency is unavailable.

Per-endpoint policy

endpoint_id, policy_hash, method allow-list, TTL, and use count (scoped to the route being protected).

Freshness window

Tune how long an envelope remains valid for each route. Captured envelopes die when the window closes.

Fail-open vs fail-closed

Choose reject-when-Control-is-unreachable, or an explicit break-glass path for emergency access.

Audit mode

hash_only for compact evidence, or full capture when you need the complete request transcript.