AIToday
Large Language ModelsAI Safety & AlignmentAmazon AI BlogPublished: Nov 18, 2026, 10:00 JST

AWS tests three OAuth setups for agents on Amazon Bedrock AgentCore Identity

Send on LINE
AWS tests three OAuth setups for agents on Amazon Bedrock AgentCore Identity

3 Key Points

  1. What happened

    AWS tested three OAuth configurations on Amazon Bedrock AgentCore Identity—Snowflake OAuth (per-user, no external IdP), three-legged OAuth with a third-party IdP (corporate SSO), and two-legged OAuth (shared service user)—for AI agents calling the Snowflake-managed MCP server.

  2. Why it matters

    The pattern an enterprise picks decides whether each agent query is traceable to a real person, or runs under one shared account, so the trade-off is audit detail against setup effort.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

By signing up you agree to the Terms of Service and Privacy Policy.

Context & Analysis

The post frames the problem as one enterprises hit as soon as agents start touching governed data: the usual answer is either broad service account permissions or custom-built auth integrations that add operational overhead. Amazon Bedrock AgentCore Gateway sits in the middle, aggregating its configured targets into a single catalog the agent sees as one tools/list response, while AgentCore Identity owns the token vault, refresh, and user-to-token binding.

What separates the patterns is which authorization server issues the token. In the Snowflake OAuth pattern, Snowflake is both authorization server and resource server, so setup follows a specific order: create the credential provider with placeholder credentials, record the returned callbackUrl, register it on a Snowflake security integration, then update the provider with the real client ID and secret. The external IdP patterns move that role to a corporate identity provider such as Okta or Microsoft Entra ID, with Snowflake validating tokens locally against published JSON Web Key Set signing keys rather than calling the IdP at runtime.

One configuration detail carries real operational weight: setting OAUTH_AUTHORIZATION_SERVER to issuer-lock an MCP scope to an external IdP causes Snowflake OAuth tokens to be rejected for MCP servers in that scope, with no fallback. The post notes that organizations needing both patterns in one account should set the parameter per schema or database so each scope resolves to the right authorization server. AWS also flags that its tests used Okta and Microsoft Entra ID, and that the two external IdP patterns can extend to other OAuth-protected MCP servers if token claims, scopes, and audience settings are validated for the provider.

FAQ
Which setup needs no external identity provider?
Snowflake OAuth: Snowflake acts as its own authorization server, and users sign in directly with their Snowflake credentials and consent to a role.
Which setup is best for machine-to-machine workloads?
Two-legged OAuth using the client_credentials grant, which needs no user interaction or consent and runs every query under a shared Snowflake service user.
What does the shared service user setup cost in audit detail?
Snowflake's QUERY_HISTORY records a single service user for all queries, so per-user attribution is lost in exchange for simpler operations.
Amazon AI BlogRead Original Article
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

By signing up you agree to the Terms of Service and Privacy Policy.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleApple paper targets latent capacity limits in 3D shape modeling