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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Har1101
August 06, 2026
Programming
770
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
Lambda durable functionsでHuman in the Loopを楽に…楽に……
har1101
2
200
AgentCore Runtime上にAgentic Coding基盤を構築・展開する際の設計ポイントと限界点 / Design considerations and limitations when building an agentic coding platform on AgentCore Runtime
har1101
7
1.1k
Gmail/Google DriveをトリガーにAIエージェントを動かそう! / Run AI agents with Gmail/Google Drive as triggers!
har1101
3
810
これからAgentCoreを触る方へトレンドはGatewayです
har1101
6
610
Even G2とAWSで推しのエージェントを召喚しよう!
har1101
1
250
エージェンティックRAGにAWSで入門しよう!
har1101
9
2.4k
TypeScriptだけでAIエージェントを作る フロント・エージェント・インフラのフルスタック実践
har1101
7
2k
AgentCore Registry入門~マルチアカウントでどう使うの~
har1101
1
150
AgentCore×VPCでの設計パターンn選と勘所
har1101
4
740
Other Decks in Programming
See All in Programming
No More NoSuchMethodError
exoego
1
120
[2026-10-14](C)Re:ゼロから始める異世界生活〜始まりの終わりと終わりの始まり〜
tosite
0
160
プロジェクトコードをキレイキレイしよう!暗黙的な参照を読み解く静的解析
ostk0069
0
120
月間100万人のサービス刷新で、 技術選定をHonoに振り切った話
yutobara
8
7k
コードで差別化できない時代の ソフトウェアエンジニアリング / Software Engineering in an Era Where Code Doesn’t Differentiate
kishida
2
200
Jetpack Compose Mechanisms
skydoves
3
880
GraphQL の onError と Nullability のこれから
quramy
0
190
個人開発者よ、Honoを使え(おじさんver)
tanahiro2010
2
280
Apple Intelligenceとオンデバイス時代の到来
yahir0
0
150
[Dev Group Paris Octobre 26] Agentforce, SIforce, Claudeforce, Slackbot… on s'y retrouve ?
nabondance
0
120
sbt 2.0: takeoff
eed3si9n
0
170
AI-Powered Domain-Driven Design
ziobrando
0
330
Featured
See All Featured
WCS-LA-2024
lcolladotor
0
920
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Fireside Chat
paigeccino
43
4.1k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
570
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
310
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.2k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
270
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
brightonSEO & MeasureFest 2025 - Winning Strategies for Black Friday CRO & PPC - Christian Goodrich
cargoodrich
3
880
What the history of the web can teach us about the future of AI
inesmontani
PRO
2
750
Code Reviewing Like a Champion
maltzj
529
40k
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を募集します!ネタ温めといてください!