Microsoft Entra Agent ID
Developer

Secure an Amazon Bedrock agent with Microsoft Entra Agent ID

In brief

The Amazon Bedrock integration guide now consistently uses “Microsoft Entra ID Auth SDK (sidecar)” in its description, explanations, container reference, and links. No behavior or availability change is described.

What Entra admins need to know

Administrators using the guide should see clearer, consistent naming; no action is required based on this documentation update.

This editorial summary was generated by AI from the documentation changes. Verify important details in the full Microsoft Learn article.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.


title: Secure an Amazon Bedrock agent with Microsoft Entra Agent ID titleSuffix: Microsoft Entra Agent ID description: Learn how to use the Microsoft Entra ID Auth SDK (sidecar) to secure an Amazon Bedrock AI agent with its own identity for calling downstream APIs. ms.topic: how-to ms.date: 04/30/2026 ms.reviewer: razi.rais

Secure an Amazon Bedrock agent with Microsoft Entra Agent ID

This guide shows you how to secure an Amazon Bedrock agent by using the Microsoft Entra ID Auth SDK (sidecar) to authenticate to downstream APIs. The sidecar runs as a separate container and handles all credential management and token exchange with Microsoft Entra ID. Your agent requests an authorization header from the sidecar, and the sidecar handles the OAuth 2.0 exchange with Microsoft Entra ID.

Prerequisites

Architecture

The Microsoft Entra ID Auth SDK (sidecar) sits between your agent and Microsoft Entra ID. The agent never talks to Microsoft Entra ID directly and never manages credentials. It asks the sidecar for an Authorization header to call a downstream API. Amazon Bedrock handles LLM inference separately, without having to worry about identity.

:::image type="content" source="media/integrate-aws-bedrock-agent/bedrock-sidecar-token-flow.png" alt-text="Diagram showing the token flow between the Bedrock agent, sidecar, Microsoft Entra ID, and Weather API." lightbox="media/integrate-aws-bedrock-agent/bedrock-sidecar-token-flow.png":::

The sample runs three containers on a Docker bridge network:

  • llm-agent-aws: Flask app with a chat UI and a LangGraph ReAct agent that calls Amazon Bedrock (Claude) for reasoning. Exposed on port 3001.
  • agent-id-sidecar-aws: The official Microsoft Entra ID Auth SDK (sidecar) container. Acquires and caches tokens. No host port, reachable only from within the Docker network.
  • weather-api-aws: A downstream API that validates the agent's JWT (signature, issuer, expiry, audience) on every request and returns weather data.

The request flows through these steps:

Related content

Daily Entra.News

Get daily email updates

Get a concise summary of the latest Microsoft Entra updates delivered straight to your inbox.

Loading the secure signup form…