Secure OAuth patterns for Snowflake Cortex AI through Amazon Bedrock AgentCore
Secure OAuth patterns for Snowflake Cortex AI through Amazon Bedrock AgentCore
The post describes three OAuth configurations tested on Amazon Bedrock AgentCore Identity for outbound authentication from Amazon Bedrock AgentCore Gateway to the Snowflake-managed MCP server: Snowflake OAuth (per-user, no external IdP), three-legged OAuth with a third-party IdP via corporate SSO, and two-legged OAuth with a shared service user. It details each pattern's flow, Snowflake security integration settings, token refresh behavior, and trade-offs, noting that only the Snowflake OAuth pattern is Snowflake-specific. It also mentions AgentCore Identity's on-behalf-of (TOKEN_EXCHANGE) grant for per-user identity in unattended workloads.
Source: AWS Machine Learning Blog · aws.amazon.com