Blog
Enterprise AI Assistants Need Identity Boundaries
Enterprise AI assistants are turning into a shared interface for internal portals, documentation, and APIs. With HAL, Dutch retailer HEMA shows how MCP and Amazon Bedrock AgentCore can unify knowledge without placing AWS credentials on employee devices.
One interface does not replace authorization
According to AWS, HEMA already had a structured service catalog and technical documentation in place. The answers were spread across wikis, service catalogs, and IT portals. HAL makes these sources available through Amazon Bedrock Knowledge Bases, OpenAPI interfaces, and MCP tools in chat, Kiro, Claude, and other clients.
The chat interface is not the critical architectural decision. Security is anchored in Microsoft Entra ID. External MCP clients authenticate through a separate gateway; the knowledge sources currently exposed are read-only, and access follows the existing Active Directory groups. HEMA also keeps the internal IAM-protected agent gateway separate from the external MCP surface.
Identity must reach the downstream tool
Microsoft describes the OAuth 2.0 On-Behalf-Of flow for this chain. An application receives a delegated user token and exchanges it for a token that a downstream API accepts. The next service therefore keeps operating in the signed-in person’s context. Application roles without user context are not intended for this flow.
For internal assistants, this boundary is an important one. A shared service account may simplify integration, yet it concentrates privileges and makes three questions harder to answer: Who initiated the access? Which permission applied? Which source or action was actually allowed?
What DACH companies should verify before enabling actions
HEMA runs HAL as a read layer for now and plans to add actions, such as requesting an AWS account, later. That order matters: the answer architecture earns the write step.
Before letting an assistant execute business processes, companies should at least:
- propagate the user’s identity through to the target system,
- authorize read and write tools independently,
- enforce scopes and groups in the source system,
- log user, tool, resource, and result,
- protect sensitive actions with a confirmation step or additional approval.
Delegated identity on its own does not resolve privacy, purpose limitation, or retention requirements. It does, however, create the technical foundation for least privilege and accountable decisions. A production assistant should therefore not see everything by default; it should see and do only what the current user is permitted to access for the specific task.