Loading...
  • Messages
  • Managed Agents
  • Admin
Search...
⌘K
Organization
Admin APIWorkspaces
Authentication
OverviewWorkload Identity FederationWIF reference
Monitoring
Usage and Cost APIRate Limits APIClaude Code Analytics API
Data & compliance
Data residencyAPI and data retention
OverviewAWS KMSGoogle Cloud KMSAzure Key Vault
Compliance API
OverviewGet accessActivity FeedChats, files, and projectsOrganizations, users, roles, and groupsDesign your integrationErrorsFAQ
Log in
Overview
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

Solutions

  • AI agents
  • Code modernization
  • Coding
  • Customer support
  • Education
  • Financial services
  • Government
  • Life sciences

Partners

  • Amazon Bedrock
  • Google Cloud's Vertex AI

Learn

  • Blog
  • Courses
  • Use cases
  • Connectors
  • Customer stories
  • Engineering at Anthropic
  • Events
  • Powered by Claude
  • Service partners
  • Startups program

Company

  • Anthropic
  • Careers
  • Economic Futures
  • Research
  • News
  • Responsible Scaling Policy
  • Security and compliance
  • Transparency

Learn

  • Blog
  • Courses
  • Use cases
  • Connectors
  • Customer stories
  • Engineering at Anthropic
  • Events
  • Powered by Claude
  • Service partners
  • Startups program

Help and security

  • Availability
  • Status
  • Support
  • Discord

Terms and policies

  • Privacy policy
  • Responsible disclosure policy
  • Terms of service: Commercial
  • Terms of service: Consumer
  • Usage policy
Admin/Encryption keys

Customer-managed encryption keys

Encrypt Claude workspace data at rest with a key you control.
Learn more with the /claude-api skill in Claude Code
claude "/claude-api tell me about customer-managed encryption keys"

A customer-managed encryption key (CMEK) lets you provision an encryption key in your own AWS KMS, Google Cloud KMS, or Azure Key Vault and have Anthropic use it to encrypt certain workspace data at rest. You retain full control of the key, including rotation, audit, and revocation, and the key operations Anthropic performs against your key are recorded in your cloud provider's audit logs.

Organizations can opt in to use customer-managed encryption keys instead of the default encryption that Anthropic provides.

How it works

CMEK is attached per workspace. Only admins can configure it. CMEK protects data written after the key is enabled. Existing data (prior chats, files, and sessions) remains encrypted with Anthropic-managed keys and is not re-encrypted under your key.

CMEK admin configuration events appear in the Compliance API Activity Feed. The key operations Anthropic performs against your key (such as wrapping and unwrapping data keys) do not appear in the Compliance API; they appear in your cloud provider's audit logs.

Prerequisites

  • Cloud Admin access in the account, project, or subscription that will host the encryption key.
  • An Anthropic Console Organization Admin role (or Owner / Primary Owner).

Availability and regions

CMEK is currently available in US regions only, and all encryption operations are processed in US regions. Multi-region keys and EU key residency are not yet supported.

CMEK is not currently supported for organizations with HIPAA enabled. Support for using CMEK together with HIPAA is planned. If your organization has HIPAA enabled, contact your Anthropic representative before configuring CMEK.

For minimal latency, choose a region close to Anthropic's US infrastructure:

ProviderRecommended regions
AWSus-east-2
Google Cloudus-central1, us-east5
Azurenorthcentralus, eastus2

What CMEK protects

Encrypted

  • Message content, including inline file attachments sent with a request, and MCP and tool configuration.
  • Backups and snapshots inherit the key.

Disabled or modified

Some features are turned off or substantially modified when CMEK is enabled:

  • Skills, sessions, server-side stateful tools, the standalone Files API (/v1/files), Batch API, and code execution.
  • Beta and research preview features may not be covered by CMEK.

Not encrypted

These features remain available, but their data is not encrypted under your key. You can disable any feature that is not appropriate for your use case in Settings.

  • Workbench in the Console.
  • Data that is not at rest (such as cache) and data with a TTL shorter than 24 hours.
  • Activity Feed, audit logs and telemetry network traffic like OTEL, so customers can maintain compliance even if a key is revoked.

Limitations

  • Irreversible action: Once a key is attached to a workspace, it cannot be detached or swapped. Rotating the key material within the same key (for example, AWS KMS automatic rotation, a Cloud KMS rotation schedule, or an Azure Key Vault rotation policy) is supported transparently and requires no change in Anthropic. Switching to a different key requires creating a new workspace with the new key and migrating your data. Revoking or disabling the key makes all CMEK-protected data in that workspace permanently inaccessible, with no backout path.
  • No retroactive encryption: CMEK only protects data written after the key is enabled.
  • Latency: operations that wrap or unwrap data keys make a round-trip to your key management service, which can add a small amount of latency to actions that read or write data at rest.
  • Revocation delay: key revocation can take up to one hour (the cache TTL). Requests already in flight during that window may continue to succeed.

Configure your provider

Follow the guide for the key management service you use.

AWS KMS

Create an AWS KMS key with a cross-account key policy, then register and validate it.

Google Cloud KMS

Create a Cloud KMS crypto key, grant Anthropic's service account access, then register it.

Azure Key Vault

Create an RSA key, grant the Anthropic service principal access, then register and validate it.

Was this page helpful?

  • How it works
  • Prerequisites
  • Availability and regions
  • What CMEK protects
  • Encrypted
  • Disabled or modified
  • Not encrypted
  • Limitations
  • Configure your provider