Instructions
Use this skill when you need to deploy and operate the apps gateway described in the source post to enable organization-wide Claude Code usage on Amazon Bedrock or Google Cloud.
What the gateway does (as described)
- Centralized identity: The gateway authenticates developers against your identity provider (OIDC) and issues a short-lived session; no long-lived secrets sit on developer machines.
- Centralized policy: Managed settings are defined once on the server, delivered to clients at sign-in, and enforced by the gateway on every request.
- Usage attribution: The client stamps a usage metric on every request; the gateway relays these metrics via OTLP to a collector you operate.
- Provider routing: The gateway holds the upstream credential and routes inference to the Claude API, Amazon Bedrock, or Google Cloud, with optional provider failover.
- Spend caps: Supports daily/weekly/monthly spend limits per organization, group, or user.
Deployment and rollout (as described)
- Deploy the gateway
- Download the Claude Code CLI binary.
- Configure
gateway.yamlto point to your OIDC issuer and upstream credential. - Register one OIDC app in your IdP.
- Roll out to developers
- Distribute
managed-settings.jsonto developer machines. - Set
forceLoginMethodandforceLoginGatewayUrlso clients connect to your gateway on first boot.
- Distribute
- Operate centrally
- Adjust allowed models and default settings on the server.
- Monitor per-user usage from your OTLP collector.
- Apply spend limits (org/group/user).
Bundled resources
- Guide: Apps gateway deployment & rollout overview
- Reference templates (based on config files mentioned in the post):
Examples
Create a rollout checklist
- Confirm you can deploy a Linux container and provision PostgreSQL.
- Confirm your IdP supports OIDC and create/register an OIDC application.
- Configure the gateway (
templates/gateway.yaml) with your OIDC issuer and upstream provider credential. - Publish managed settings (
templates/managed-settings.json) and setforceLoginMethodandforceLoginGatewayUrl. - Validate that clients receive managed settings at sign-in and that policy is enforced consistently.
- Connect an OTLP collector and verify per-user metrics are received.
- Configure spend limits at the org/group/user level.
Explain the security posture to stakeholders
- The gateway authenticates users via your IdP and issues short-lived sessions.
- No long-lived secrets are stored on developer laptops.
- The gateway is self-hosted and does not send inference traffic or usage data to Anthropic unless you choose to route to the Claude API.