Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Claude CodeとAgentCore Gatewayを繋ぐ際の認証認可 / Authen...
Search
Har1101
August 06, 2026
Programming
740
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Claude CodeとAgentCore Gatewayを繋ぐ際の認証認可 / Authentication and authorization when connecting Claude Code with AgentCore Gateway
2026/08/06 (木) JAWS-UG京都 AWS 夏のLT大会 での登壇資料です
Har1101
August 06, 2026
More Decks by Har1101
See All by Har1101
AgentCore Runtime上にAgentic Coding基盤を構築・展開する際の設計ポイントと限界点 / Design considerations and limitations when building an agentic coding platform on AgentCore Runtime
har1101
7
900
Gmail/Google DriveをトリガーにAIエージェントを動かそう! / Run AI agents with Gmail/Google Drive as triggers!
har1101
3
740
これからAgentCoreを触る方へトレンドはGatewayです
har1101
6
590
Even G2とAWSで推しのエージェントを召喚しよう!
har1101
1
240
エージェンティックRAGにAWSで入門しよう!
har1101
9
2.4k
TypeScriptだけでAIエージェントを作る フロント・エージェント・インフラのフルスタック実践
har1101
7
2k
AgentCore Registry入門~マルチアカウントでどう使うの~
har1101
1
140
AgentCore×VPCでの設計パターンn選と勘所
har1101
4
700
AgentCore RuntimeからS3 Filesをマウントしてみる
har1101
4
820
Other Decks in Programming
See All in Programming
手動確認はもう限界 〜XCUITestでCustom URL Schemeの遷移を起動種別ごとに自動テストする〜 / Testing Custom URL Schemes with XCUITest
otouto
0
390
Workers Cache を知る
syumai
0
330
The Rails Doctrine Decade
koic
2
490
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
640
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
440
Ghostty + Neovimで作る 透明でカッコ良い開発環境
j341nono
0
150
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
450
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Rails World 2026, Austin, Texas
marcoroth
0
190
速く作れる。その次は、速く確かめられる開発へ 〜AIネイティブ開発を支える、Shift Down〜 / Can build fast. Next, moving to development where we can verify fast.
rkaga
8
5.5k
wkhtmltopdfの次どうするか問題2026
willnet
2
1.8k
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
440
Streamlitで実現する自然言語データアプリ開発
ayumu_yamaguchi
1
340
Featured
See All Featured
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.6k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
350
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
470
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.9k
Visualization
eitanlees
153
17k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
540
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
550
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.6k
Practical Orchestrator
shlominoach
192
12k
Transcript
Claude CodeとAgentCore Gateway を繋ぐ際の認証認可 2026/08/06 (木) JAWS-UG京都 AWS 夏のLT大会 福地開
Who am I ? 福地 開 (ふくち はるき) @har1101mony 所属:NECソリューションイノベータ/JAWS-UG東京
業務:AWSエンジニア / エージェントビルダー 実績:AWS Community Builders 2年目 (AI Engineering) 2026 Japan All AWS Certifications Engineers 最近ハマっているもの:クラフトビール
今日話すこと・話さないこと ◆話すこと • AgentCore Gatewayの認証認可基礎編 • Claude CodeとAgentCore Gatewayを繋ぐ方法 ◆話さないこと
• 細かいAgentCore各種機能の解説
AgentCore Gatewayの 認証認可基礎編
AgentCore Gatewayとは ◆既存のAPIやLambda、リモートMCPサーバーなどを束ねて 単一のMCPサーバーとして提供する機能 • つまりAIエージェントとツールのインターフェースとなる機能 参考:https://speakerdeck.com/gawa/colleague-in-the-ai-era-autonomous-ai-seminar-2026-at-niigata?slide=58
AgentCore Gatewayとは ◆既存のAPIやLambda、リモートMCPサーバーなどを束ねて 単一のMCPサーバーとして提供する機能 • つまりAIエージェントとツールのインターフェースとなる機能 今日はここの 話をします 参考:https://speakerdeck.com/gawa/colleague-in-the-ai-era-autonomous-ai-seminar-2026-at-niigata?slide=58
インバウンド認証 ◆AgentCore Gatewayを呼び出す際の認証設定 • IAM認証とJWT認証のどちらかを設定 • AgentCore Runtimeと繋げたい場合はIAM、それ以外はJWTを使うイメージ (下記はあくまで一例、AgentCore Runtime×JWT認証もClaude
Code×IAM認証もいける)
アウトバウンド認証 ◆AgentCore Gatewayから外部APIやSaaSを呼び出す際の認証設定 • AWS内のAPIを呼び出す場合はIAM認証が使える • 外部リソースへのアクセスにはAPIキーやOAuthクライアントを用いる • APIキーやOAuthクライアントを安全に保管・活用するためにIdentityも活用
OAuthで「認証」!?エアプか!?(京言葉) ◆コンソールにそう書いてあるんやからしゃーないやろ • まぁ事実上のOAuth&OIDCなんやと思います(後述)
Claude Codeと AgentCore Gatewayを繋ぐ方法
ユースケース:Claude Codeと繋げる ◆組織向けにMCPサーバーを一元管理して提供したい • でも各MCPサーバーを個別に提供し、各自で設定するのは手間 • AgentCore Gatewayに集約しておけば、これだけで全て設定できる
ユースケース:Claude Codeと繋げる ◆組織向けにMCPサーバーを一元管理して提供したい • でも各MCPサーバーを個別に提供し、各自で設定するのは手間 • AgentCore Gatewayに集約しておけば、これだけで全て設定できる この時の in/outどうする?
この時のインバウンド認証 ◆簡単なのはIAM認証 • ~/.aws/configにSSOサインインの設定書いてログインすればOK • でも毎回ログインするの面倒やしSSOじゃなかったらアクセスキー発行 or 毎回aws loginという手間が生じる(正直初期設定が必要な時点でもう面倒) •
あーあ、会社のEntra IDにログインしてるだけで使えたらな〜
この時のインバウンド認証 ◆JWT認証にしてEntra ID × IdC × Cognitoでええやん! • Claude Codeの/mcp
コマンドからAuthenticationを実行すれば一瞬で完了 • 詳しい解説はブログを読んでください
この時のアウトバウンド認証 ◆そのユーザーの権限の範囲内でのみリソースアクセスを可能にしたい • Gatewayのターゲット設定において、3LO(3-Legged OAuth)を選択する • Slackなら本人が参加しているチャンネル/メッセージのみ参照・投稿できる
まとめ ◆AgentCore Gatewayアツいぞ!! ◆組織で統一して色々MCPサーバーを提供したい場合、 あるいはクラウド上のエージェントと外部サービスを繋ぎたい場合 はぜひ使ってみよう! ◆今日喋ったのは浅瀬も浅瀬です、深淵は深すぎて見えませんが 今少しずつ覗きにいっていますので良ければブログを見てください
宣伝:AI Builders Day 2026やります!!! ◆Save the Date! 10月頃CfPを募集します!ネタ温めといてください!