Skill 2.3.3

Create secure access frameworks to ensure appropriate security controls (for example, by using identity federation between FM services and enterprise systems, role-based access control for model and data access, least privilege API access to FMs)

Key Concepts

Identity federation lets enterprise identities use AWS without IAM users: IAM Identity Center with an external identity provider for workforce access, Amazon Cognito user pools and identity pools for application users, and API Gateway authorizers that validate tokens. Role-based access control maps groups to IAM roles that allow specific models, knowledge bases and data sources.

Least privilege for FM APIs means allowing only needed actions such as bedrock:InvokeModel or bedrock:Retrieve on specific model, inference profile or knowledge base ARNs. User identity can be passed through to retrieval so document-level permissions are enforced with metadata filters.