講座 › 分野3 統合
3.2 認証と認可の態勢
配点 2.4%Authentication and Authorization Posture
統合設計で、認証情報の露出と権限の昇格のリスクを見つけ、それぞれの対策を言い当てる。
未読
認証情報は、エージェントに見せない 読了

エージェントに、秘密の値そのものを見せない設計が基本です。Managed Agentsの保管庫は、秘密を登録して、IDで参照させ、エージェントは秘密の値を見ません。自分で動かす場合は、エージェントの外側に置いた代理が、リクエストに鍵を差し込む形にします。
出典:Authenticate with vaults
The agent never sees the secret value.https://platform.claude.com/docs/en/managed-agents/vaults.md(取得 2026-11-23)
出典:Securely deploying AI agents
rather than giving an agent direct access to an API key, you could run a proxy outside the agent's environment that injects the key into requests.https://code.claude.com/docs/en/agent-sdk/secure-deployment.md(取得 2026-11-23)
出典:Securely deploying AI agents
| Credentials | Inject via proxy rather than exposing directly |https://code.claude.com/docs/en/agent-sdk/secure-deployment.md(取得 2026-11-23)
認可の範囲と取り消し 読了

保管庫と認証情報は、ワークスペースの範囲で共有されます。そのワークスペースのAPIキーを持つ人なら、セッションの作成時に参照できます。範囲を意識して分け、不要になったら、保管庫や認証情報を削除して取り消します。
出典:Authenticate with vaults
Vaults and credentials are workspace-scoped, meaning any API key with workspace access can reference them when creating a session.https://platform.claude.com/docs/en/managed-agents/vaults.md(取得 2026-11-23)
出典:Authenticate with vaults
To revoke access, delete the vault or credential.https://platform.claude.com/docs/en/managed-agents/vaults.md(取得 2026-11-23)
出典:Claude Certified Architect – Professional Exam Guide v1.1(12月7日発効・英語)
Analyzing the authentication and authorization posture of an integration design to identify credential exposure and privilege escalation risks, and specifying the mitigation for each.https://cc.sj-cdn.net/instructor/6nizmqk8tpzpfjvt6qmmav7rh/public/1794…(取得 2026-11-23)
MCPの認可で起きる権限昇格 読了

MCPのサーバーは、自分宛てに発行されたトークンかを検証する必要があります。受け取ったトークンを検証せずに下流へ渡すトークンの素通しは、してはならない形です。第三者のAPIにつなぐ代理のサーバーは、クライアントごとの同意を取らないと、権限を借りて悪用される「混乱した代理人」の問題が起きます。
出典:MCP 仕様:Authorization
MCP servers **MUST** validate that access tokens were issued specifically for them as the intended audiencehttps://modelcontextprotocol.io/specification/2026-07-28/basic/authori…(取得 2026-11-23)
出典:MCP 仕様:Security Best Practices
"Token passthrough" is an anti-pattern where an MCP server accepts tokens from an MCP client without validating that the tokens were properly issued *to the MCP server* and passes them through to the downstream API.https://modelcontextprotocol.io/docs/2026-07-28/tutorials/security/sec…(取得 2026-11-23)
出典:MCP 仕様:Security Best Practices
To prevent confused deputy attacks, MCP proxy servers **MUST** implement per-client consent and proper security controls as detailed below.https://modelcontextprotocol.io/docs/2026-07-28/tutorials/security/sec…(取得 2026-11-23)
試験のポイント
- 秘密の値は、エージェントに見せない。代理が差し込む。
出典:Securely deploying AI agents
rather than giving an agent direct access to an API key, you could run a proxy outside the agent's environment that injects the key into requests.
https://code.claude.com/docs/en/agent-sdk/secure-deployment.md(取得 2026-11-23) - MCPのサーバーは、自分宛てのトークンかを検証し、素通しにしない。
出典:MCP 仕様:Authorization
MCP servers **MUST** validate that access tokens were issued specifically for them as the intended audience
https://modelcontextprotocol.io/specification/2026-07-28/basic/authori…(取得 2026-11-23) - 代理のサーバーは、クライアントごとに同意を取る。
出典:MCP 仕様:Security Best Practices
To prevent confused deputy attacks, MCP proxy servers **MUST** implement per-client consent and proper security controls as detailed below.
https://modelcontextprotocol.io/docs/2026-07-28/tutorials/security/sec…(取得 2026-11-23)