Attribute-Based Access Control in Multi-Tenant AI Environments
Agents need attribute-based access control designed for machine authorization, not human roles.

Attribute-based access control in multi-tenant AI environments authorizes an agent’s next action. Authorization depends on whether this agent may perform this action, with these parameters, for this tenant, right now. ABAC answers that question through request-time policy evaluation, but reliable enforcement requires a connected architecture spanning identity, delegation, tool calls, data and runtime activation.
Why role-based access control was built for humans, not agents
Role-based access control starts by asking which role a user has. Its familiar operating model assumes one person, one session and a finite set of static permissions. Agents instead authenticate machine-to-machine, run in parallel and borrow authority from a human or organization. A pipeline may spawn dozens of instances, each needing a scoped identity, while revocation of the owner’s access must propagate to those instances.
Delegation makes the mismatch sharper because agents can create sub-agents whose permissions must never exceed their own. Agents can also call hundreds of API endpoints in seconds and operate without session timeouts, making human-calibrated scope and anomaly models a poor fit. OWASP’s LLM Top 10 for 2025 ranks prompt injection as the highest risk, reinforcing the need to bound what an influenced agent can actually do. Adding roles such as “support-agent-tier-1” and “code-agent-repo-a” produces role explosion without expressing the changing conditions of each request.
What changes in a multi-tenant environment and why it makes the problem harder
Multi-tenancy turns that mismatch into an isolation problem. Consider an agent authorized to search Organization A’s documents that queries a shared store and reaches Organization B’s documents instead. Its role may permit document searches, yet the decision is wrong because the resource belongs to another tenant. Every access decision needs tenant context to catch an invalid request from a user with a valid role.
ibl.ai’s multi-tenant architecture documentation lists failures that keep appearing in retrofits, including shared data stores, a lack of per-tenant segmentation and compliance rules that need custom engineering for each deployment. These weaknesses are in the architecture as well as in the application checks. In healthcare, finance or legal work, data bleed threatens both client trust and regulatory obligations. The same boundary must survive delegation, so when Agent A spawns Agent B for Tenant X, the child must carry Tenant X’s context. Time of day, request origin, data sensitivity and approval status then add conditions that vary within that boundary and between tenants.
How ABAC reframes the authorization question agents actually need answered
ABAC uses those conditions to make the decision. It represents attributes as name/value pairs describing the subject, resource and environment. The subject attributes include the agent identity, capability tier and owning tenant, while the resource attributes include the sensitivity classification, owning tenant and data type. The environmental attributes include the time of day, network location and approval state. Policy evaluates those values at request time to decide whether the particular action is allowed.
This lets the same agent class get different decisions for different tenants, resources or times without needing a role for every combination. Each agent type needs four attributes when it is defined, which are Agent ID, an ownership attribute, Capability set and Tenant context. Agent ID is a stable, durable identifier for the class, while the ownership attribute identifies the human or organization whose authority it borrows. Capability set says which actions are allowed, and Tenant context sets the bounds on where those capabilities apply. Combined with a viewer relationship, these conditions can permit document summarization while denying export to external APIs, distinguishing two actions that a broad read permission would blur.
Why ABAC alone is insufficient and where fine-grained authorization fills the gap
Attribute evaluation does not, by itself, supply the relationship model needed to govern a large resource hierarchy. An organization contains workspaces, workspaces contain projects, and projects contain individual resources. Authorization must establish where a grant applies and whether it propagates through those relationships. Otherwise, policy authors must enumerate combinations that the resource structure already expresses.
Google’s 2019 Zanzibar paper introduced a relation-tuple model that encodes permissions as typed relationships between subjects and objects. OpenFGA, Permify and SpiceDB provide open-source implementations of this architectural pattern. Fine-grained authorization can therefore model inherited workspace access while ABAC evaluates the conditions on a particular request. The recommended architecture uses those tuples along with JWT tokens that carry tenant claims, Token Exchange for delegated authority and resource-level isolation.
Delegation adds another check to that combination. When Agent A spawns Agent B, the child must receive no more privilege than the parent permits. Downscoping must happen at the delegation boundary, rather than relying on the parent’s initial authorization to cover everything its descendants might attempt.
The post-fulfillment activation gap that ABAC and FGA still leave open

Even when an acquisition is correctly authorized, it can return a resource with authority that was not expected. AWS separates permission to launch an EC2 instance from permission to pass a particular IAM role. That distinction matters because the same authorized create call can produce an instance with a task-local read role or one attached to a broader service identity. The transaction can be acceptable while the resulting capability is not.
Zhu and Wang’s provenance-bounded runtime authorization architecture calls this the post-fulfillment activation gap. It separates the lifecycle into six events, which are propose, reserve, dispatch, quarantine, resolve and activate. Quarantine records a credential, compute instance or agent principal that has been returned while keeping its authority from being used. Resolution establishes its actual capabilities against registered provider evidence. Activation then requires a current authorization transaction that checks the full acquisition graph.
Zhu and Wang prove safety properties under explicit assumptions, including non-amplification and effect confinement. Non-amplification prevents a child from gaining more authority than its parent envelope permits. Effect confinement consumes single-use effect permits at linearization, the point where the effect takes place, preventing replay. A receipt is not a permission slip.
How enterprise identity providers anchor ABAC policy to real agent identities
Those controls depend on claims that belong to a real, managed agent identity. Static API keys and shared credentials are a weak foundation because they do not carry per-request attribute context or support the selective revocation that scoped agent identities require. Microsoft Entra Agent ID became generally available in April 2026. Microsoft describes an agent identity as a specialized service principal with no credentials of its own, acquiring short-lived tokens through its blueprint after a user or tenant admin consents to the relevant scopes.
The June 2026 Enterprise-Managed Authorization extension to MCP makes the enterprise identity provider the authoritative provisioner for MCP server access. Users authenticate through their existing enterprise identity, with access decisions managed in the IdP admin console and an auditable trail. Microsoft Entra Agent ID and Okta for AI Agents are options for registering verified principals whose lifecycles follow their owning human or tenant.
Recursive delegation remains an open challenge in this infrastructure. NIST’s National Cybersecurity Center of Excellence pointed to a gap in AI-agent access delegation in its February 2026 concept paper. It did not specifically frame that gap as recursive delegation, and no deployed standard yet fully resolves arbitrary chains of agents delegating to further agents.
Where MCP gateways enforce ABAC policy at the tool-call boundary
Verified identity becomes useful enforcement at the MCP gateway, which sits between agents and the MCP servers they call. The gateway intercepts tool invocations and evaluates subject attributes, resource attributes and current conditions before execution. Its unit of control must include the endpoint and tool parameters. Traditional API gateways built around static keys and URL controls do not by themselves cover dynamic short-lived tokens, user-delegated OAuth and nondeterministic agent traffic.
The official MCP 2026 roadmap names audit trails, SSO-integrated authentication, gateway behavior and configuration portability as enterprise gaps. Kong AI Gateway manages remote MCP traffic, while its AI MCP Server entity can map REST endpoints into tool definitions or aggregate MCP servers in a separate listener mode. Kong secures access through an AI Auth Strategy and ACLs governing tool usage.
Cloudflare’s enterprise MCP reference architecture combines Cloudflare AI Gateway, MCP Server Portals and Cloudflare Gateway into a unified security plane. MCPX by Lunar.dev is an open-source entry point where agents interact with tools under access control and policy, with auditability across MCP servers. These implementation options for the boundary still require defining the policy it must enforce.
What production ABAC enforcement requires at the data layer
An agent may pass a tool-level check yet overreach if the query encounters no equivalent per-tenant, per-row or per-column restrictions. ibl.ai’s architecture documentation calls for storage-layer separation that partitions tenant data, models and agent memory against application-level misconfiguration. The boundary must hold below the code that happens to issue the request.
Platform-native managed MCP endpoints offer a way to preserve existing data permissions. They can inherit the platform’s row-level security, column masking and data classification so the gateway does not have to recreate those rules. The patent record also documents attribute-aware controls at this layer. US Patent 11,755,546 covers attribute-aware relationship-based access control at row and field levels in a relational database, while US Patent 11,580,239 covers cloud-enabled data tagging and a dynamic access control policy engine. These records formalize the pattern, although they do not establish the effectiveness of a particular deployment.
Authorization must also sit within operational limits. Spend limits, step limits, timeouts, circuit breakers and a tested kill switch constrain authorized activity that would otherwise run too far or too long.
Why observability and audit logging are part of the ABAC architecture, not an afterthought
Enforcement without a structured record leaves security teams unable to reconstruct what the policy decided. Each audit entry needs the agent’s verified identity, tenant context, the tool call it attempted, the policy outcome and the resource attributes that were evaluated. That record allows teams to establish, after an incident, what the agent was authorized to do with the same precision expected before execution. Without it, an agent becomes a shadow user with privileges but little accountability.
AI observability must also reach beyond uptime to trace multi-step actions and inter-agent handoffs, with signals such as per-trace hallucination and faithfulness scoring. To see security risks, teams need prompt injection detection at the gateway, PII scanning on inputs and outputs, and output validation before outputs are sent downstream. OpenTelemetry span tags support token-cost attribution by tenant, team, feature and user. Logging needs deliberate limits because too little prevents reconstruction, while too much sensitive content turns the audit system into another cross-tenant exposure risk.
Gartner predicts that a substantial share of AI agent deployment failures will result from insufficient AI governance platform runtime enforcement for capabilities and multisystem interoperability. The governance requirement is therefore not simply to publish policy, but to enforce and observe it across the systems an agent can reach.
A reference implementation path for multi-tenant ABAC in production
Implementation starts with registering agents before choosing a gateway. Microsoft Entra Agent ID or Okta for AI Agents can provision each agent class as a verified principal with short-lived tokens and lifecycle workflows tied to its owner. Policy then defines subject, resource and environmental attributes, with tenant context mandatory in every rule. Zanzibar-style relationship tuples add permission inheritance across organization, workspace, project and resource hierarchies without multiplying roles.
The next layer routes agent-to-tool traffic through an MCP gateway that checks policy at the tool-parameter level, with prompt injection detection and PII scanning inline. Runtime-acquired credentials, compute instances and sub-agent principals then enter quarantine until provider evidence resolves their actual capabilities for activation. Platform-native managed MCP endpoints extend enforcement into row-level security and column masking. Identity-linked, tenant-scoped telemetry records every authorization decision, attributes token costs through OpenTelemetry and streams logs to SIEM. The recommended operational controls also include kill switches with universal logout capability.
These layers must be designed together because the gaps between them become the attack surface. Until deployed standards fully resolve recursive delegation, the practical mitigation is downscoping at every delegation boundary and treating each sub-agent as a new first-class identity registration event. ABAC supplies the request-time decision, but the architecture must carry that decision through to the effect. An agent’s role may explain its job, but it cannot authorize everything the agent does to finish it.


