Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
なんとなくの実装を抜け出す!10分でおさらいするAgentCoreの認証・認可
Search
やくも
January 17, 2026
Technology
2
78
なんとなくの実装を抜け出す! 10分でおさらいするAgentCoreの認証・認可
JAWS-UG 福井 #1 リブート宣言LT会
https://jawsug-fukui.connpass.com/event/375652/
やくも
January 17, 2026
Tweet
Share
More Decks by やくも
See All by やくも
AWSと生成AIで学ぶ!実行計画の読み解き方とSQLチューニングの実践
yakumo
2
580
AIエージェントを5分で一気におさらい!AIエージェント「構築」元年に備えよう
yakumo
1
150
AI時代のワークフロー設計〜Durable Functions / Step Functions / Strands Agents を添えて〜
yakumo
4
3k
AIの長期記憶と短期記憶の違いについてAgentCoreを例に深掘ってみた
yakumo
5
510
品川会立ち上げについて
yakumo
1
160
5分で体感するhuman-in-the-loop!AIに丸投げはもうやめよう!
yakumo
1
400
re:Inventで発表された新サービス~AgentCore Evaluations/Policy~
yakumo
2
340
効果的なAIエージェントを考える〜それホントにAIエージェントじゃなきゃだめですか?〜
yakumo
3
740
新米エンジニアがJapan AWS Jr.Championsになるまで〜ゼロから始めたAWSとの歩み〜
yakumo
2
340
Other Decks in Technology
See All in Technology
さくらのクラウドでのシークレット管理を考える/tamachi.sre#2
fujiwara3
1
190
【Agentforce Hackathon Tokyo 2025 発表資料】みらいシフト:あなた働き方を、みらいへシフト。
kuratani
0
120
国井さんにPurview の話を聞く会
sophiakunii
1
410
Oracle Database@Azure:サービス概要のご紹介
oracle4engineer
PRO
3
380
「違う現場で格闘する二人」——社内コミュニティがつないだトヨタ流アジャイルの実践とその先
shinichitakeuchi
0
450
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1k
みんなでAI上手ピーポーになろう! / Let’s All Get AI-Savvy!
kaminashi
0
150
Security Hub と出会ってから 1年半が過ぎました
rch850
0
150
新米スクラムマスターの4ヶ月 -「スクラムイベントを回しているのに手応えがない」からの脱出 / Four Months as a New Scrum Master — When Scrum Events Were Running, but Nothing Felt Right
owata
0
170
CQRS/ESになぜアクターモデルが必要なのか
j5ik2o
0
1.2k
会社紹介資料 / Sansan Company Profile
sansan33
PRO
12
400k
Java 25に至る道
skrb
3
230
Featured
See All Featured
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
41
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
Building AI with AI
inesmontani
PRO
1
630
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
99
Information Architects: The Missing Link in Design Systems
soysaucechin
0
740
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
1.1k
Darren the Foodie - Storyboard
khoart
PRO
2
2.2k
Prompt Engineering for Job Search
mfonobong
0
140
A Soul's Torment
seathinner
5
2.1k
Agile that works and the tools we love
rasmusluckow
331
21k
Transcript
なんとなくの実装を抜け出す! 10分でおさらいするAgentCoreの認証・認可 八雲 慎之助/Shinnosuke Yakumo 2025/1/17 JAWS-UG 福井#1
本セッションの内容 Amazon Bedrock AgentCore とは 「認証」「認可」について AgentCoreにおける認証・認可 基本的な実装と認証フローを例に解説
本セッションの内容 Amazon Bedrock AgentCore とは 「認証」「認可」について AgentCoreにおける認証・認可 基本的な実装と認証フローを例に解説
本セッションの内容 Amazon Bedrock AgentCore とは 「認証」「認可」について AgentCoreにおける認証・認可 基本的な実装と認証フローを例に解説 なんとなく→中身を理解しながら実装できる
八雲 慎之助(やくも しんのすけ) 年次:2年目 選出:2025 Japan AWS Jr.Champions コミュニティ:JAWS-UG 新潟支部
運営 好きなサービス:Amazon Neptune, Amazon Bedrock AgentCore Who am I @yakumo_09 @yakumo_0905
Amazon Bedrock AgentCoreについて
エージェントを運用する上で 必要な機能を一通り備えています
AgentCoreの機能群 ランタイム アイデンティティ オブザーバビリティ ポリシー ゲートウェイ メモリー 評価
AgentCoreの機能群 ランタイム アイデンティティ オブザーバビリティ ポリシー ゲートウェイ メモリー 評価
AgentCore Identity – 認証・認可を一元的に管理
認証・認可について 認証:Identity ・who ・あんた誰? ・アクセストークン持ってる? 認可:Authorization ・can ・なにをしていいのか ・ツールの使用、エージェントの呼び出し
認証・認可について 認証:Identity ・あんた誰? ・アクセストークン持ってる? 認可:Authorization ・なにをしていいのか ・ツールの使用、エージェントの呼び出し
認証・認可について 認証:Identity ・あんた誰? ・アクセストークン持ってる? 認可:Authorization ・なにをしていいのか ・ツールの使用、エージェントの呼び出し
AgentCore Identity – 認証・認可を一元的に管理 •Inbound Auth エージェントを「呼び出す時」の認証 誰がエージェントにアクセスできるか •Outbound Auth
エージェントが「外部ツールを呼び出す」ための認証 APIキーなどの認証情報を管理
AgentCore Identity – 認証・認可を一元的に管理 Identity Runtime Cognito Runtime Identity リクエスト
トークン確認 リクエスト実施 Outbound Auth Inbound Auth 外部サービス利用 Cognito Secrets Manager
AgentCore Identity – 認証・認可を一元的に管理 Identity Runtime Cognito Runtime Identity リクエスト
トークン確認 リクエスト実施 Outbound Auth Inbound Auth 外部サービス利用 Cognito Secrets Manager
AgentCore Identity – 認証・認可を一元的に管理 Identity Runtime Cognito Runtime Identity リクエスト
トークン確認 リクエスト実施 Outbound Auth Inbound Auth 外部サービス利用 Cognito Secrets Manager
AgentCore Identity – Inbound Auth Identity Runtime Cognito リクエスト トークン検証
リクエスト実施 トークン取得 Runtimeなどに対する認証 IAMやJWT認証も可能(Runtimeの認証なしは不可)
AgentCore Identity – Inbound Auth Runtime リクエスト実施 Runtimeなどに対する認証 IAMやJWT認証も可能(Runtimeの認証なしは不可) Identity
Cognito リクエスト トークン検証 トークン取得
AgentCore Identity – Outbound Auth Identity Runtime Cognito リクエスト トークン検証、取得
Gatewayに接続 エージェント→外部サービスのための認証 APIキーや認証情報をSecrets Managerから取得する ※Gatewayに接続する例 Gateway Secrets Manager
AgentCore Identity – Outbound Auth Identity Runtime Cognito リクエスト トークン検証、取得
Gatewayに接続 エージェント→外部サービスのための認証 APIキーや認証情報をSecrets Managerから取得する ※Gatewayに接続する例 Gateway Secrets Manager
AgentCore Identity – Outbound Auth Identity Runtime Cognito リクエスト トークン検証、取得
Gatewayに接続 エージェント→外部サービスのための認証 APIキーや認証情報をSecrets Managerから取得する ※Gatewayに接続する例 Gateway Secrets Manager
AgentCore Identity – Outbound Auth Identity Runtime Cognito リクエスト トークン検証、取得
Gatewayに接続 エージェント→外部サービスのための認証 APIキーや認証情報をSecrets Managerから取得する ※Gatewayに接続する例 Gateway Secrets Manager
ここでやっていること(フローの全体像抜粋) Identity Runtime Cognito Workload Access Tokenの取得 外部用のトークン取得(Workload Access Token
+ etc..) Token Vaultに保存
ここでやっていること(フローの全体像抜粋) Identity Runtime Cognito Workload Access Tokenの取得 外部用のトークン取得(Workload Access Token
+ etc..) Token Vaultに保存 エージェントがAgentCore内のサー ビスにアクセスするための署名
ここでやっていること(フローの全体像抜粋) Identity Runtime Cognito Workload Access Tokenの取得 外部用のトークン取得(Workload Access Token
+ etc..) Token Vaultに保存 エージェントがAgentCore内のサー ビスにアクセスするための署名
ここでやっていること(フローの全体像抜粋) Identity Runtime Cognito Workload Access Tokenの取得 外部用のトークン取得(Workload Access Token
+ etc..) Token Vaultに保存 外部サービスのトークンやAPIキーを 保存する金庫
ここでやっていること(フローの全体像抜粋) Identity Runtime Cognito Workload Access Tokenの取得 外部用のトークン取得(Workload Access Token
+ etc..) Token Vaultに保存
ここでやっていること(フローの全体像抜粋) Identity Runtime Cognito Workload Access Tokenの取得 外部用のトークン取得 Token Vaultに保存
全体像(インバウンド認証→Gatewayからツール呼び出し) Identity Runtime Cognito リクエスト トークン検証 リクエスト実施 トークン取得 Identity Cognito
リクエスト トークン検証、取得 Gatewayに接続 Gateway Secrets Manager ツール実行
全体像(インバウンド認証→Gatewayからツール呼び出し) Identity Runtime Cognito リクエスト トークン検証 リクエスト実施 トークン取得 Identity Cognito
リクエスト トークン検証、取得 Gatewayに接続 Gateway Secrets Manager ツール実行 Inbound Auth
全体像(インバウンド認証→Gatewayからツール呼び出し) Identity Runtime Cognito リクエスト トークン検証 リクエスト実施 トークン取得 Identity Cognito
リクエスト トークン検証、取得 Gatewayに接続 Gateway Secrets Manager ツール実行 Outbound Auth
全体像(インバウンド認証→Gatewayからツール呼び出し) Identity Runtime Cognito リクエスト トークン検証 リクエスト実施 トークン取得 Identity Cognito
リクエスト トークン検証、取得 Gatewayに接続 Gateway Secrets Manager ツール実行 Outbound Auth
• AgentCore IdentityとGatewayについて • Identityの中身の仕組み • Workload Access Token や
Token Vaultなど • 裏側の仕組みを理解すると実装時の解像度上がりますよ〜 まとめ
• https://dev.classmethod.jp/articles/amazon-bedrock- agentcore-identity-cognito-azure-openai/ • https://docs.aws.amazon.com/bedrock- agentcore/latest/devguide/identity.html • https://qiita.com/yakumo_09/items/a091b38d23cd16 bdbf1c 参考