AWS Tests OAuth Patterns Connecting Bedrock AgentCore to Snowflake Cortex via MCP
AI assistants · Enterprise AI · Cybersecurity and privacy
AWS demonstrates three OAuth patterns using Amazon Bedrock AgentCore Identity and Gateway to connect AI agents to Snowflake Cortex AI tools via Model Context Protocol (MCP), enabling per-user authorization and token management.
AWS shared testing details on establishing secure outbound authentication between Amazon Bedrock AgentCore and Snowflake Cortex AI tools through the Model Context Protocol (MCP). The architecture uses Bedrock AgentCore Gateway to aggregate Snowflake-managed MCP server tools—such as Cortex Search and Cortex Analyst—into a catalog, while AgentCore Identity functions as the credential broker managing token caching, renewal, and user-to-token binding. The tested approaches include three-legged Snowflake OAuth without an external IdP, three-legged OAuth using corporate SSO, and two-legged OAuth for machine-to-machine service accounts.
Key takeaways
- Amazon Bedrock AgentCore Gateway exposes Snowflake Cortex tools via MCP while AgentCore Identity manages token retrieval, caching, and refresh.
- Pattern 1 uses Snowflake's built-in OAuth for per-user attribution without requiring an external Identity Provider.
- Patterns 2 and 3 implement external Identity Providers like Okta or Microsoft Entra ID via three-legged SSO or two-legged client credentials.
- Setting OAUTH_AUTHORIZATION_SERVER in Snowflake locks MCP endpoints to designated authorization integrations to prevent token mismatches.
Source:AWS Machine Learning Read the original ↗
Prepared, checked and automatically published by AI; not individually reviewed by a human.