An agent hosted on Amazon Bedrock AgentCore must call a third-party calendar API on behalf of each signed-in user, using OAuth tokens that the user authorized, without storing those tokens in agent code. Which component should the team configure?
Show the answer
Correct answerC. Amazon Bedrock AgentCore Identity
AWhy not this: Memory stores conversation and long-term context, not users' OAuth tokens for outside APIs.
BWhy not this: Gateway turns APIs and functions into tools for agents; the per-user OAuth tokens for an outbound call still come from AgentCore Identity.
CWhy this is right: Identity runs the OAuth flow and keeps each user's tokens in a token vault for the agent's outbound calls.
DWhy not this: Runtime hosts and scales agent code but does not manage users' delegated OAuth tokens.
AgentCore Identity manages an agent's outbound credentials: it runs the OAuth flow, keeps each user's tokens in its token vault, and supplies them when the agent calls the external API. Gateway exposes tools to agents and Runtime hosts agent code; neither is where users' delegated tokens are managed.