Claude: Zero to Hero
Production · module 5 of 5

Enterprise and governance

What you’ll learn: what exists for deploying Claude across an organisation — so you know what to ask for rather than building it yourself.


Identity and access

Workspaces

Separate API keys, budgets, and rate limits per project or team. The first thing to set up in any organisation — it makes cost attribution and blast-radius containment possible.

See Workspaces.

Admin API

Programmatic management of organisations, users, roles, groups, service accounts, and settings.

See Admin API and Create an Admin API key.

Workload Identity Federation

API access without long-lived keys. Your workloads authenticate with their existing identity.

Supported providers: AWS, Google Cloud, Microsoft Entra ID, Okta, Kubernetes, SPIFFE, GitHub Actions.

This is the correct answer to “how do we give CI an API key” — you don’t.


Spend and usage

API What
Spend Limits API Per-developer and per-group caps, with an approval flow for increases
Usage and Cost API Pull consumption into your own systems
Analytics APIs Adoption and usage patterns
Claude Code Analytics API Claude Code usage, adoption, engineering velocity
Rate Limits API Current limits, programmatically

Data governance

Retention and residency

Note: Agent Skills are not covered by ZDR arrangements. Skill definitions and execution data follow standard retention. Check per-feature ZDR eligibility before assuming coverage.

Customer-managed encryption keys

Bring your own key, via AWS KMS, Azure Key Vault, or Google Cloud KMS.

See Customer-managed encryption keys.

Compliance API

Retrieve and delete chats, files, projects, artifacts and code sessions; query an activity feed; list org data. This is what your compliance team needs for e-discovery, audits and deletion requests.

Note: Cowork sessions on web and mobile are captured in the Compliance API.

Access Transparency

Visibility into access to your data. See Access Transparency.


Deploying Claude Code across an organisation

The decision map is Set up Claude Code for your organization. The pieces:

Managed settings

Client-enforced, regardless of what a user configures:

Control Setting
Block tools, commands, file paths permissions.deny
Enforce sandbox isolation sandbox.enabled
Disable bypass mode permissions.disableBypassPermissionsMode
Environment variables and provider routing env
Auth method and org lock forceLoginMethod, forceLoginOrgUUID
Behavioural guidance claudeMd, or a managed CLAUDE.md file
Approved version range Managed settings

Deploy via MDM, Group Policy, Ansible — or via server-managed settings, which needs no device management infrastructure.

MCP governance

Allowlists and denylists of which MCP servers users may add or connect to, plus org-wide ask settings on connector tools.

See Control MCP server access for your organization.

Gateways

Route Claude Code through a self-hosted gateway for centralised credentials, usage tracking, and cost controls.

Network

Proxies, custom CAs, and mutual TLS. See Enterprise network configuration.

Cloud providers

Amazon Bedrock, Claude Platform on AWS, Google Vertex AI, Microsoft Foundry. Feature availability differs — check Feature availability before committing.


Consumer-side org controls

For claude.ai, Cowork and Chat:


Rollout

Anthropic publishes material for the human side, which is usually the harder part:

A rollout order that works:

  1. Pilot with a small, willing team
  2. Managed settings with sane deny rules and sandboxing on
  3. Workspaces and spend limits before wide access
  4. Shared configuration — committed CLAUDE.md, .mcp.json, project skills
  5. A plugin or marketplace once patterns stabilise
  6. Measure adoption and cost; iterate

Deploying without steps 2 and 3 is how organisations end up with a surprise bill and an incident.



Try it

Exercise 1 — Workspaces. Set up a workspace with a budget for each project you run. Move your keys.

Exercise 2 — Managed settings draft. Write the managed settings you’d deploy: deny rules, sandbox, auth lock. Even if you can’t deploy them yet, having the draft makes the conversation with IT concrete.

Exercise 3 — Spend limits. Set a per-developer spend limit via the API. Trigger it deliberately.

Exercise 4 — WIF. Set up Workload Identity Federation for one CI pipeline. Delete the long-lived key.

Exercise 5 — Compliance dry run. Use the Compliance API to retrieve and then delete a test conversation. Now you know the process before someone asks for it urgently.

Exercise 6 — Rollout plan. Write the six-step rollout for your organisation, with names against each step.


Checkpoint


Going deeper