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
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
1
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
140
AgentCore×VPCでの設計パターンn選と勘所
har1101
4
740
Other Decks in Programming
See All in Programming
Web Framework Benchmark Battle 2026, Any%
a_matsuda
3
2.9k
複雑なUIコンポーネントとの ⻑い付き合い⽅:波及するバグからテスト戦略を経て、安全な再設計へ
mixplace
0
460
学びを記事・スライド・Xへ高速展開する― AI-assisted Learning Loopで回すコンテンツ生成術
ochtum
0
140
JIS keyboard support in Omarchy
lef237
0
160
自サークルのIdPからログアウトできるようになるまで
taiseiue
1
150
Snowflake Openflow Connector利用の勘所 / 20261024developersio2026tokyo-snowflake-openflow
kasacchiful
PRO
0
170
Optunaを作ったときにやりたかったこと、その後 (2026/10/16, Optuna Meetup #3)
iwiwi
4
1.3k
【加筆修正版】Laravel のアプリケーションをどこにデプロイするか #phpcon_ehime
akase244
0
160
Long Living Tokens, Die, Die, Die! (or: The One Ring is Banned in Modern)
sylph01
0
370
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
8
2.4k
Railsのためのパスキー実践入門 〜マルチテナントSaaSでの意思決定〜
utakaha
3
1.2k
コードで差別化できない時代の ソフトウェアエンジニアリング / Software Engineering in an Era Where Code Doesn’t Differentiate
kishida
2
200
Featured
See All Featured
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
500
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
47k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
490
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
GraphQLとの向き合い方2022年版
quramy
50
15k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
360
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Embracing the Ebb and Flow
colly
88
5.2k
The agentic SEO stack - context over prompts
schlessera
0
980
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.2k
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を募集します!ネタ温めといてください!