Skill 2.5.2
Implement access controls for generative and agentic AI applications (for example, by using Amazon Bedrock AgentCore Identity).
Key Concepts
Model and resource access: IAM policies scope bedrock:InvokeModel and related actions to specific model, inference profile, knowledge base and agent ARNs; SCPs deny unapproved models organisation-wide; interface VPC endpoints with endpoint policies keep traffic private; and the first use of some third-party models needs AWS Marketplace subscription permissions, which can be granted or withheld centrally.
Amazon Bedrock AgentCore Identity manages identity for agents. Inbound authentication verifies who may invoke an agent, with IAM SigV4 or OAuth 2.0 and JWT tokens from identity providers such as Cognito, Okta or Microsoft Entra ID. Outbound authentication lets the agent call downstream tools: two-legged OAuth for machine-to-machine access and three-legged OAuth when the agent acts on behalf of a user with that user's consent. Tokens and API keys are stored in a token vault, encrypted with KMS and bound to the specific agent and user, so agents never hold long-lived secrets in code.