HomeAgent FrameworksAmazon Bedrock AgentCore Identityで「Private Key JWT」認証を使う方法
Authenticate with Private Key JWT using Amazon Bedrock AgentCore Identity

Amazon Bedrock AgentCore Identityで「Private Key JWT」認証を使う方法Authenticate with Private Key JWT using Amazon Bedrock AgentCore Identity

AI要点サマリSummary highlight

AgentCore IdentityにおけるPrivate Key JWT認証の仕組みと対応グラントフローを解説し、AWS KMS署名鍵の作成からIdPへの公開鍵登録・認証情報プロバイダー設定までを実践的に紹介した技術ガイド。

This guide explains how Private Key JWT client authentication works in Amazon Bedrock AgentCore Identity, covering supported grant flows and a practical walkthrough of creating an AWS KMS signing key, registering its public key with an identity provider, and configuring a credential provider.

要約と収集メタデータをもとに生成した AI 解説本文です。元記事全文の転載・翻訳ではありません。This AI explainer is generated from the summaries and collected metadata, not from a reproduction or translation of the full source article.

Amazon Web Services(AWS)は公式ブログで、AIエージェント向けの認証基盤である「Amazon Bedrock AgentCore Identity」において、「Private Key JWT」方式のクライアント認証を利用する手順を解説した。共有シークレットに頼らない認証方式を採り入れることで、エージェントとIDプロバイダー(IdP)間の連携をより堅牢にする狙いがあると見られる。

Private Key JWTは、OAuth 2.0のクライアント認証で用いられる方式の一つだ。従来広く使われてきたクライアントシークレットのように共有秘密情報をやり取りする代わりに、クライアントが秘密鍵で署名したJWT(JSON Web Token)を提示し、IdP側は事前に登録された公開鍵で署名を検証する。秘密情報そのものをネットワーク越しに送受信しないため、漏えいリスクを抑えられる点が特徴とされる。

今回のブログでは、この仕組みの解説に加え、AgentCore Identityが対応するグラントフローを整理している。そのうえで実践的な手順として、AWS Key Management Service(KMS)で署名用の鍵を作成し、その公開鍵をIdPに登録し、AgentCore側で認証情報プロバイダー(credential provider)を構成するまでの流れを順を追って示している。KMSを署名鍵の保管に用いることで、秘密鍵をアプリケーション側で直接保持せずに運用できると考えられる。

AgentCore Identityは、Amazon Bedrock AgentCoreを構成する要素の一つで、エージェントが外部サービスやAPIへアクセスする際の認証・認可を担う。生成AIエージェントが自律的に外部リソースを呼び出す用途が広がるなか、エージェントの本人性を安全に証明する仕組みへの関心は高まっている。OAuthやOpenID Connectを軸とした標準準拠の認証方式は、複数のIdPやサービスと連携する際の相互運用性の面でも利点があるとみられる。

Private Key JWTのようにシークレットレスに近い認証手法は、企業システムでの採用が進む領域でもある。今回のガイドは、AgentCore Identityを用いてエージェントの認証を実装する開発者にとって、具体的な設定手順を把握するための手がかりとなりそうだ。

Amazon Web Services has published guidance on using Private Key JWT client authentication with Amazon Bedrock AgentCore Identity, giving developers a more security-conscious way to connect AI agents to external identity providers. The topic matters because agents increasingly need to obtain OAuth tokens to call downstream APIs and tools, and the method used to authenticate the agent as a client directly shapes how those credentials are created, stored, and exposed.

Private Key JWT is an OAuth 2.0 client authentication method, standardized in the context of RFC 7523 and OpenID Connect, in which the client proves its identity by presenting a signed JSON Web Token (a JWT assertion) rather than sending a shared client secret. The client signs the assertion with a private key, and the identity provider validates it using the corresponding public key. Because no shared secret travels over the network or sits in configuration where it could leak, this pattern is generally regarded as stronger than secret-based methods such as client_secret_post or client_secret_basic. The trade-off is added setup: you must manage a key pair and register the public half with the identity provider.

The AWS post explains how this authentication flow works inside AgentCore Identity and reviews the grant flows it supports. AgentCore Identity is the component of Amazon Bedrock AgentCore responsible for handling authentication and authorization so that agents can securely acquire and use tokens. In practice, OAuth deployments distinguish between machine-to-machine access, where an agent acts on its own behalf, and delegated access, where an agent acts for a signed-in user. Private Key JWT can serve as the client authentication layer underneath these flows, replacing a static secret with a cryptographic assertion regardless of which grant is used to obtain the token.

A central element of the walkthrough is the use of AWS Key Management Service (KMS) to generate the signing key. Rather than creating a private key file that lives on disk or in an application, the guide describes creating an asymmetric KMS signing key, where the private key is generated inside KMS and never leaves the service. Signing operations are performed through KMS API calls, so the agent requests a signature for the JWT assertion without ever handling the raw private key material directly. This design reduces the risk of key exfiltration and centralizes access control and auditing through AWS Identity and Access Management and CloudTrail, which is a common motivation for using KMS in credential workflows.

The post then covers registering the KMS public key with your identity provider. Because the identity provider needs the public half of the key pair to verify incoming assertions, the public key is extracted from KMS and configured on the IdP side, typically as part of the client or application registration. After that, the guide walks through configuring a credential provider on the AgentCore side so the agent knows how to construct, sign, and present the Private Key JWT when requesting tokens. Together, these steps connect the KMS-held signing key, the identity provider's verification configuration, and the agent runtime into a single working authentication path.

For readers new to this area, some background helps. Amazon Bedrock AgentCore is AWS's set of services for building, deploying, and operating AI agents, and identity is one of several concerns it addresses alongside runtime execution, memory, and tool access. Private Key JWT is not unique to AWS; it appears across enterprise identity platforms and is frequently required by providers that enforce stronger client authentication, including in regulated environments and certain financial-grade API profiles. Developers who have used JWT bearer assertions, mutual TLS client authentication, or the OAuth client credentials grant will recognize the underlying concepts.

The overall value of the guidance is likely to be practical rather than conceptual: it documents a concrete sequence for teams that want to avoid embedding long-lived secrets in agent configurations. As agent frameworks mature, tying client authentication to a managed key service such as KMS appears consistent with broader industry moves toward secretless and short-lived credential patterns. Organizations evaluating the approach should still confirm that their chosen identity provider supports Private Key JWT and the specific grant flows their agents require before adopting it.

  • 出典SourceAWS Machine Learning Blog公式Official
  • 直近30件の平均重要度Avg importance, last 301=Info · 2=Medium · 3=High
  • 配信形式FormatブログBlog
  • 重要度Importance重要度 MediumMedium priority(Agent Frameworks 137件中、同等以上 137件)(137 of 137 Agent Frameworks entries are equal or higher)
  • 情報の寿命Half-life🏛️ 長期 (アーキテクチャ)Long-term (architecture)
  • 原文言語Source languageEN
  • 収集日時Collected2026/08/03 07:42

本ページの本文と要約は AI による自動生成です。日本語版と英語版は言語ごとに独立して生成されるため、表現や詳しさが異なる場合があります。正確性は元記事 (aws.amazon.com) をご確認ください。The body and summaries are AI-generated independently for each language, so wording and detail may differ. Verify accuracy at the original source (aws.amazon.com).

🤖Agent Frameworks の他の記事More from Agent Frameworksもっと見る →View more →