AWS Publishes Blueprint for User-Specific Access in Shared AI Agents
AWS Publishes Blueprint for User-Specific Access in Shared AI Agents
AI Cybersecurity

AWS Publishes Blueprint for User-Specific Access in Shared AI Agents

AWS Machine LearningNov 13, 2026

AWS described a pattern that combines verified identity, gateway checks and knowledge-base access controls to scope agent searches per user.

AWS published a technical design on November 12, 2026, for limiting what an AI agent can retrieve from a shared Amazon Bedrock Managed Knowledge Base on behalf of each user. The pattern targets internal assistants and multi-tenant applications where people share an agent but must not see one another’s restricted documents.

The central safeguard is to keep the user identity out of the model’s control. In the example, a user signs in with Amazon Cognito, and a validated access token carries an email claim. An AWS Lambda request interceptor at Amazon Bedrock AgentCore Gateway reads that verified identity and replaces the `userContext` supplied with an MCP tool call. This prevents the model or client from selecting a different user as the search identity.

The design adds separate checks at the gateway and data layers. A gateway authorizer validates the token; Policy in AgentCore checks that the search identity matches the token’s email claim. The Managed Knowledge Base uses ACL awareness to return only documents the identified user may view. A resource-based policy can also restrict searches to the gateway’s execution role, blocking other principals from calling the knowledge base directly.

AWS’s sample uses one knowledge base containing department-specific plans and a shared notice, with two users querying through the same agent. The post emphasizes that ACL awareness filters results but does not authenticate end users: the calling application must pass a verified `userContext`. For ACL-enabled Amazon S3 data sources, document permission changes take effect after the next sync, and documents without an ACL entry are not ingested.

The architecture is presented as a layered implementation pattern, not an automatic guarantee for every deployment. AWS provides a sample deployable through a single Cloud Development Kit stack. The post also identifies prerequisites, including a compatible AWS Region, Node.js 22 or later, and an Amazon Cognito Essentials or Plus plan when adapting the token-customization approach to an existing user pool.

Industry Impact

Safer shared knowledge searches

Enterprise assistants and multi-tenant applications

Overview

AWS’s design shows how teams can limit a shared agent’s knowledge searches to documents each user is authorized to see. For software developers, it offers a deployable pattern using verified identity, gateway checks, and knowledge-base ACLs. Security professionals should note that ACL filtering alone does not authenticate users: the application must pass verified identity, and gateway and data-layer controls add separate safeguards. In the short term, teams can use the sample to inform implementation. Over time, consistent identity enforcement may help organizations deploy shared assistants across users with different document permissions.

Key Impact Points

A gateway interceptor replaces model- or client-supplied search identity with identity derived from a validated token.

Gateway policy, knowledge-base ACLs, and resource-based access restrictions provide distinct layers of control.

S3 permission changes take effect after the next sync, and documents without ACL entries are not ingested.

Opportunities

Permission-aware enterprise assistants

Internal knowledge tools and multi-tenant applications

Organizations building shared assistants can use this pattern to make knowledge retrieval reflect each signed-in user’s document permissions. The sample provides a starting point for implementation, while teams can adapt its gateway identity checks and knowledge-base ACL controls to their own access policies. This may support internal deployments where employees share an assistant but cannot share all source documents, as well as multi-tenant applications. The opportunity is chiefly improved access control and deployment confidence, not a new revenue stream demonstrated by the article. Teams must account for prerequisites, compatible AWS Regions, and the delay until the next S3 data-source sync applies permission changes.

  • User-scoped knowledge search for shared assistants

    Problem: People using the same assistant may have different permissions to restricted documents.

    Solution: Use a validated user identity at the gateway and apply knowledge-base ACLs so searches return only documents that user may view.

    Target Users: Teams building internal assistants or multi-tenant applications on Amazon Bedrock.

    Business Value: Provides a layered implementation pattern for restricting retrieval by user and reducing reliance on model- or client-selected identity.

    Revenue Potential: No direct revenue estimate is provided; the pattern may support enterprise assistant deployments or related implementation services.

Reference link

https://aws.amazon.com/blogs/machine-learning/fine-grained-access-control-for-amazon-bedrock-managed-knowledge-base-tools

Image Source Link

https://docs.aws.amazon.com/images/connect/latest/adminguide/images/ai-agents-retrieve-tool-filter-complete.png

Community Discussion (0)

Loading discussions...