Restrict access to sensitive documents in your Amazon Quick knowledge bases for Amazon S3
Summary
Amazon Quick now supports document-level Access Control Lists (ACLs) for Amazon S3 knowledge bases, enabling fine-grained control over sensitive documents. This feature allows organizations to restrict specific S3 documents or folders to authorized users and groups, ensuring that Quick's AI-driven search and chat only surface content a user is permitted to view. The configuration involves setting up IAM policy assignments to control S3 bucket access for knowledge base creation and choosing between two ACL methods: a global ACL file for stable, folder-based permissions or document-level metadata files for frequently changing, per-document permissions. Quick enforces a deny-by-default model, meaning only explicitly allowed documents or prefixes are accessible. The process includes creating ACL files, uploading them to S3, configuring the knowledge base in Quick, and syncing to apply permissions, with verification steps for chat and automated workflows (Flows).
Key takeaway
For AI Architects and MLOps Engineers managing sensitive data in Amazon Quick, implementing document-level ACLs for S3 knowledge bases is crucial for compliance and data governance. You should carefully plan your access control structure, choosing between global or document-level ACLs based on permission granularity and change frequency. Always test ACL configurations in a non-production environment before enabling them, as this is a one-way operation.
Key insights
Amazon Quick's new S3 document-level ACLs enable fine-grained access control for sensitive data in AI-driven search.
Principles
- Deny-by-default access control is enforced.
- DENY rules always take precedence over ALLOW rules.
- IAM policies control knowledge base creation access.
Method
Configure S3 document-level ACLs in Amazon Quick by creating either a global ACL.json file for folder-level control or individual .metadata.json files for per-document control, then enable ACLs during knowledge base setup and sync.
In practice
- Use global ACL files for stable, folder-based permissions.
- Use document-level metadata files for frequently changing permissions.
- Restrict s3:PutObject on ACL files to administrators.
Topics
- Amazon Quick
- Amazon S3
- Access Control Lists
- Document-Level Permissions
- Data Governance
Best for: AI Architect, MLOps Engineer, AI Security Engineer
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by Artificial Intelligence.