为 Amazon Bedrock 和 Google Cloud 推出的 Claude apps gateway
Introducing the Claude apps gateway for Amazon Bedrock and Google Cloud
Anthropic 今日推出 Claude apps gateway,一个自托管控制平面,让企业能在 Amazon Bedrock 和 Google Cloud 上运行 Claude Code。它作为单个无状态容器部署于 Linux,后端使用 PostgreSQL,提供企业级 SSO 登录(通过 OIDC 对接 Google Workspace、Microsoft Entra ID、Okta 等)、集中策略管理、角色权限、路由(支持故障转移)以及按日/周/月、按组织/群组/用户的消费上限。遥测数据通过 OTLP 发送至用户配置的收集器。gateway 不会向 Anthropic 发送推理流量或使用数据(除非配置使用 Claude API)。即日起可用。
Claude Code企业版有了统一管理入口,SSO和成本控制是团队落地AI编程的关键,对CTO来说值得关注。
Category
Product
Claude Code
Date
June 29, 2026
Reading time
5
min
https://claude.com/blog/introducing-the-claude-apps-gateway
Today, we're introducing the Claude apps gateway for Amazon Bedrock and Google Cloud. Previously, running Claude Code on these platforms has meant provisioning a cloud credential per developer, manually pushing settings to every laptop, and standing up separate tooling to see per-developer spend. The gateway is a self-hosted control plane that gives you corporate SSO login, centrally enforced policy, role-based access, and per-user cost attribution for Claude Code.
Deploying the gateway
The gateway is run as a single stateless container deployed on Linux and backed by a PostgreSQL database. It holds your upstream credential, authenticates developers against your identity provider, distributes and enforces managed settings, and reports per-user usage to a collector you operate. Onboarding a developer means adding them to your Identity Provider (IdP). Offboarding means removing them.
The gateway is built and shipped by Anthropic inside the same claude binary your developers already install, so you can run it in one stateless container on your infrastructure. Because the gateway and the client are built together, the /login flow is gateway-aware, the client applies managed settings automatically at sign-in, and policy is enforced consistently on every request.
How the gateway works
The gateway handles:
- Identity. It acts as an OpenID Connect (OIDC) relying party against Google Workspace, Microsoft Entra ID, Okta, or any standards-compliant OIDC provider, and issues a short-lived session. No long-lived secrets sit on developer machines.
- Policy. You can define managed settings once on the server, and clients receive the policy at sign-in and the gateway enforces it on every request. You can adjust allowed models and default settings centrally.
- Telemetry. The client stamps a usage metric for every request, and the gateway relays it over OTLP to a collector you configure, in your network and on your retention schedule.
- Routing. The gateway holds your upstream credential and routes inference to the Claude API, Amazon Bedrock, or Google Cloud, with optional failover between providers.
- Spend caps. The gateway allows you to set daily, weekly, and monthly spend limits. Limits can be applied per organization, group, or user.
The gateway does not send inference traffic or usage data to Anthropic unless you configure it to use the Claude API. We're also publishing the protocol the gateway uses, so other gateway developers can implement the same features.
Getting started
The gateway is available now. To get started:
- Deploy the gateway: Download the Claude Code CLI binary, point
gateway.yamlat your OIDC issuer and upstream credential, and register one OIDC app in your IdP. - Roll it out: Configure the
forceLoginMethodandforceLoginGatewayUrlparameters inmanaged-settings.jsonon client machines. Clients connect to your gateway on first boot.
See the documentation to learn more.
Transform how your organization operates with Claude
来源:Claude:Blog(网页) · claude.com