Skip to content

Envoy AI Gateway becomes Agent Router and joins the Agentic AI Foundation

Learn more

Approve AI Access Once, in the Identity Provider

Tetrate Agent Router Enterprise syncs with Entra ID, Okta or Ping, so one IdP change onboards or offboards people for AI. See how in six steps.

Approve AI Access Once, in the Identity Provider

Tetrate Agent Router Enterprise syncs with your identity provider (IdP), so your company approves people and agents for AI in the place it already uses for everything else. The gateway does not keep its own list of people. When a person joins, changes team or leaves, the IdP change is the only change anyone makes.

Key points

  • Agent Router Enterprise works with Microsoft Entra ID, Okta and Ping, and can use two IdPs at the same time.
  • The IdP decides who people are and which groups they are in. Agent Router Enterprise decides where each call goes and what each call can spend.
  • People use AI applications with their company login. Nobody pastes an API key.
  • Offboarding is one change in the IdP.
  • SCIM brings people and groups over from the IdP. An access table sends each call to the right project, and budgets limit what each person can spend.

Every large company already keeps a list of who is allowed to do what. The list lives in the IdP. An IAM team has spent years keeping that list accurate. People join groups, and groups get access. When someone leaves, one change in the IdP turns everything off.

Then the company buys an AI gateway, and the gateway wants a list of its own.

I have spent most of this autumn working on that problem. This post follows one company from no gateway at all to an analyst asking Claude Code a question. I’ll also explain the choices we made along the way.

Flow diagram: a person signs in to an AI application with the company login, the identity provider issues a token and sends people and groups through SCIM, and Agent Router Enterprise sends each call to a project.
The identity provider issues the token and sends people and groups through SCIM. Agent Router Enterprise sends each call to a project.

Most companies hand out AI the opposite way to what they want

Most companies start with one of three setups.

A shared key. One team gets an API key from the model provider and passes it around. This is fast. It is also why nobody can answer finance when they ask who spent all the money. When a person leaves, the key keeps working, because the key never knew who that person was.

One key per person. The gateway issues each person a key. Now the gateway has its own list of people, and someone has to keep that list in step with the IdP. (In practice, “someone” means a spreadsheet and good intentions.) A person who leaves keeps their key until somebody notices.

A header that names the project. Each application sends a header that says which team or project the call belongs to, and the gateway believes the header. Anyone who can edit a header can pick a better-funded project. Access control has quietly become an honour system.

All three setups put a second source of truth next to the IdP. Every enterprise customer we have talked to about this wants the opposite. Nobody uses AI unless someone approved it, and the approval happens in one place. For most of them, that place is the IdP. So most companies set up AI access in exactly the opposite way to what they want.

How Agent Router Enterprise splits the work with the IdP

Agent Router Enterprise is the gateway that every AI call passes through. The gateway holds the models, the guardrails and the MCP servers. The gateway also sets budgets and keeps a record of every call. The IdP already knows who people are, so the gateway takes that answer from the IdP.

The rule in Agent Router Enterprise is short. The IdP decides who people are and which groups they are in. Agent Router Enterprise decides where each call goes and what each call can spend.

The IdP decidesAgent Router Enterprise decides
Who each person isWhich project each group reaches, with each application
Which groups each person is inWhat each project contains: models, guardrails, MCP servers and region
Which applications exist, and who may use each oneBudgets on people, groups, applications and projects
Which application made each callThe record of every call

Agent Router Enterprise keeps a copy of the people and groups, because budgets and the audit trail need them. Only the IdP can change that copy. Nobody can add a person in Agent Router Enterprise, and nobody can put a person in a group there. Agent Router Enterprise can give a group less than the IdP allows, but it can never give more.

To show how this works, I’ll use a made-up bank. Call it Example Bank. Example Bank has 2,000 analysts, an Entra tenant, and a security team that has not yet said yes to anything.

Three people at Example Bank and their problems: Priya on the IAM team, Sam on the platform team and Carol the analyst, each with what changes with Agent Router Enterprise.
The people at Example Bank, the problem each person has, and what changes with Agent Router Enterprise.

Step 1: Priya sets up Entra

Priya runs Entra at Example Bank. Priya creates an app registration for Agent Router Enterprise, then she creates one more app registration for each AI application that people sign in to. At Example Bank, those applications are Claude Code and DealBot. DealBot is the bank’s own application for deal research.

On every registration, Priya turns on “assignment required”, so nobody gets a token by default. Then Priya assigns the ai-analysts group to Claude Code and to DealBot.

Priya never signs in to Agent Router Enterprise. Priya does exactly the same work for every other SaaS product the bank buys. That is a deliberate choice. The IAM team should not have to learn a new product to approve people for AI.

Step 2: Sam connects Agent Router Enterprise to Entra

Sam runs Agent Router Enterprise, so first he registers Entra as the IdP for people. Priya then switches on SCIM provisioning in Entra, and Entra starts sending people and groups to Agent Router Enterprise. Sam can see the people and groups in the Admin Console. Sam cannot edit them.

Okta and Ping work the same way. Only the setting names change.

Step 3: Sam writes the access table

The access table is the one part of the setup that lives in Agent Router Enterprise, so it deserves a closer look.

A project in Agent Router Enterprise holds what a call can reach: the models, the guardrails, the MCP servers and the gateways. Example Bank starts with three projects. The analyst-sandbox project has general models and standard guardrails. The finance project can see credit data. The deals-prod project has the production deal-data MCP server.

The access table maps a group, and optionally an application, to a project:

#GroupApplicationProject
1ai-analystsDealBotdeals-prod
2credit-researchAny applicationfinance
3ai-analystsAny applicationanalyst-sandbox

Agent Router Enterprise reads the table from the top, and the first matching row wins. Firewall rules work the same way, so most infrastructure teams can read the table without training. Rows name groups, never people. The table has no catch-all row at the bottom. If no row matches, Agent Router Enterprise refuses the call.

Row 1 gives DealBot the production deal data, because DealBot is a carefully controlled application that runs on a server. Claude Code is a general-purpose application on a laptop, so Claude Code gets the sandbox. The same analyst gets different access depending on the application in use. Agent Router Enterprise also checks that a script cannot borrow DealBot’s client ID to reach the same data.

Step 4: Carol’s Monday morning

Carol is an equity analyst in the ai-analysts group. On Monday, Carol opens Claude Code and signs in with her usual bank login.

Entra gives Claude Code a token. The token names Carol, and names Claude Code as the application. Claude Code sends Carol’s question to Agent Router Enterprise with that token. The call does not mention a project, and Carol does not have an API key. Agent Router Enterprise checks the token, looks up Carol’s groups, and walks the table. Row 1 wants DealBot. Row 2 wants credit-research. Row 3 matches, so the call runs in analyst-sandbox.

After lunch, Carol opens DealBot. Row 1 matches, and her calls reach deals-prod.

Carol did nothing special either time. She never chose a project and never pasted a key. From Carol’s side, AI works with the login she already had.

Step 5: Sam sets budgets

Sam gives each person in ai-analysts $200 a month. Sam also gives deals-prod a shared pool of $20,000 a month. Carol’s $200 follows her into every project and every application. When either limit runs out, Agent Router Enterprise stops her calls.

Budgets are the hardest part of this setup. A later post will cover budgets in detail.

Step 6: Carol moves, then Carol leaves

In March, Carol moves to credit research. Priya adds Carol to the credit-research group in Entra. About 40 minutes later, Carol’s Claude Code calls start landing in finance. (Entra sends changes on a cycle. Okta and Ping send them in near real time.) Nobody touched Agent Router Enterprise.

In June, Carol leaves the bank. Priya disables Carol in Entra. Agent Router Enterprise refuses Carol’s calls and removes her keys, and every application acting for Carol stops. If the bank cannot wait for the next sync, Sam can stop Carol in Agent Router Enterprise at once.

The security team cares about this step more than any other. Offboarding is still one change in the IdP, exactly as it was before the bank bought anything.

Six steps for AI onboarding without API keys, from identity provider setup to a move or a leave, each with the person who acts.
The six steps at Example Bank, with the person who acts in each step.

What Sam can see

Every call in the request log carries three facts: the person, the application and the project. Sam can say who spent each dollar, and with which application. Finance can split the bill by project, because each call lands in exactly one project.

Getting started

Agent Router Enterprise gives a company one gateway for its models, guardrails and MCP servers, with budgets and a record of every call. People sign in to AI applications with their company login, so nobody pastes an API key.

Setup has three parts. The IAM team registers each AI application in the IdP and assigns groups to it. The platform team connects the IdP to Agent Router Enterprise, and SCIM brings people and groups over. The platform team then writes the access table and sets budgets.

After that, one change in the IdP covers every join, move and leave. The next post covers agents that call models as themselves.

Tetrate believes a company should approve people for AI in one place, and that place should be the identity provider it already trusts.

FAQ

Does an AI gateway need its own user list?

No. Agent Router Enterprise takes people and groups from the IdP through SCIM. Only the IdP can change them.

Which identity providers does Agent Router Enterprise work with?

Agent Router Enterprise works with Microsoft Entra ID, Okta and Ping. A company can use two IdPs at the same time, for example one for people and one for applications.

How does a person lose AI access after leaving the company?

The IAM team disables the person in the IdP. Agent Router Enterprise then refuses that person’s calls and removes that person’s keys. An admin can also stop the person in Agent Router Enterprise at once.

Do people need an API key to use AI applications?

No. A person signs in to an AI application with the company login, and the IdP token names the person and the application.

How does Agent Router Enterprise choose the project for a call?

An access table maps an IdP group, and optionally an application, to a project. Agent Router Enterprise reads the table from the top, and the first matching row wins. If no row matches, Agent Router Enterprise refuses the call.

Is SCIM required?

Yes. Agent Router Enterprise needs SCIM to bring people and groups over from the IdP.

See how Agent Router Enterprise works with your identity provider. Request a demo.

Product background Product background for tablets
Building AI agents

Agent Router Enterprise provides a managed AI Gateway, MCP Gateway, and AI Guardrails in your dedicated instance. Graduate agents from prototype to production with consistent model access, governed tool use, and runtime supervision — built on the open source Agent Router project (formerly Envoy AI Gateway) by its co-creators.

  • AI Gateway – Unified model catalog with automatic fallback across providers
  • MCP Gateway – Curated tool access with per-profile authentication and filtering
  • AI Guardrails – Enforce policies, prevent data loss, and supervise agent behavior
  • Learn more
    Replacing NGINX Ingress

    Tetrate Enterprise Gateway for Envoy (TEG) is the enterprise-ready replacement for NGINX Ingress Controller. Built on Envoy Gateway and the Kubernetes Gateway API, TEG delivers advanced traffic management, security, and observability without vendor lock-in.

  • 100% upstream Envoy Gateway – CVE-protected builds
  • Kubernetes Gateway API native – Modern, portable, and extensible ingress
  • Enterprise-grade support – 24/7 production support from Envoy experts
  • Learn more
    Decorative CTA background pattern background background
    Tetrate logo in the CTA section Tetrate logo in the CTA section for mobile

    Ready to enhance your
    network

    with more
    intelligence?