Learning resourcesReviewed · Anthropic

Add and attach an encryption key with the Admin API

This guide teaches Claude Platform administrators to connect a customer-managed encryption key to a workspace, but attaching the key is irreversible. It covers registration, validation and attachment using AWS KMS, Google Cloud KMS or Azure Key Vault. Existing data stays under Anthropic’s key, and deleting the attached key can make protected data unrecoverable.

Researched 15 Nov 2026

In short.

This Claude Platform guide helps administrators automate customer-managed encryption setup, but attaching a key cannot be undone. It documents three Admin API operations: register an existing cloud key, validate it and attach it to a workspace that retains data. Examples cover three cloud providers through cURL, the CLI and seven programming languages. Existing data remains under Anthropic's key, and if the attached customer-managed key is deleted, Anthropic cannot recover the data it protects. Pricing and detailed cloud permissions are unknown from this page. The examples have not been executed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete selected page at [https://platform.claude.com/docs/en/manage-claude/cmek-admin-api.md], including all provider and language examples, prerequisites, sample responses and warnings. Linked pages are excluded, so their eligibility, provider setup, retention, encryption mechanism, troubleshooting and lifecycle details are not established here. No commands or API or SDK examples were executed, and actual workspace encryption behavior was not independently verified.

The overview

Identity

This is an Anthropic documentation guide for customer-managed encryption keys, abbreviated CMEK, on Claude Platform. Its source address is [https://platform.claude.com/docs/en/manage-claude/cmek-admin-api.md]. It explains how to register a key already created in a cloud key service, validate it and associate it with a workspace.

Assessment

The guide is useful for administrators who already have CMEK access and a configured cloud key and want a concrete attachment procedure. Provider-specific fields and example responses make the sequence clear. It is insufficient as a complete encryption deployment guide because eligibility, cloud setup, retention details and key lifecycle guidance are delegated to linked pages.

Users

The intended readers are Claude Platform administrators and developers automating workspace configuration. Beginners need familiarity with cloud key services and administrative credentials. Claude Enterprise and Claude Platform on AWS users are directed to separate instructions. AWS KMS being a supported key provider here does not extend this procedure to Claude Platform on AWS.

Capabilities

The page documents external-key registration, validation with status and error information, and workspace attachment. It includes cURL and ant CLI examples plus Python, TypeScript, C#, Go, Java, PHP and Ruby samples. Registration examples cover AWS KMS, Google Cloud KMS and Azure Key Vault. It does not teach cloud key creation itself.

Using it

Requirements

CMEK must already be enabled for the organization. The procedure also requires an Admin API key, an existing cloud key with the configuration values from its provider setup, and a workspace that retains data. The guide recommends a new workspace because existing data stays under Anthropic’s key. Samples obtain credentials from ANTHROPIC_API_KEY; exact plan eligibility and cloud permission requirements are not supplied.

Mechanism

Registration sends display_name, geo and provider_config through POST [https://api.anthropic.com/v1/organizations/external_keys]. AWS configuration uses kms_arn; Google Cloud uses key_name; Azure uses vault_uri, key_name and tenant_id. The response supplies an external key ID beginning with ekey_.

Validation uses POST [https://api.anthropic.com/v1/organizations/external_keys/ekey_<id>/validate]. Attachment uses POST [https://api.anthropic.com/v1/organizations/workspaces/<workspace-id>] with external_key_id in the request body. The workspace response shows the attached ID. Encryption algorithms and internal key handling are not explained.

Setup

Complete the organization and cloud-key prerequisites, replace the provider placeholders, and register the key. Save its returned ID for validation and attachment. The documented successful validation response has status set to success and error set to null; a failure response provides an error explanation.

The cURL requests use x-api-key authentication and anthropic-version: 2026-10-21. All registration examples set geo to us; other supported values are not established. Attachment requires the intended workspace ID, which begins with wrkspc_.

Example

For an existing AWS KMS key, the Python sample registers a display name, geo set to us, and provider_config containing type set to aws and kms_arn set to the key’s ARN. The sequence then validates the returned external key ID and passes it as external_key_id to client.organization.workspaces.update. The displayed responses illustrate expected fields; they are not execution results.

Assessment & evidence

Limitations

Attaching a key cannot be undone. If the key is deleted, Anthropic cannot recover the data it protects. Existing data remains under Anthropic’s key, so attachment does not establish that historical workspace data moves to the customer-managed key.

The page does not fully define which retained data is covered, regional availability, rotation behavior, cloud permissions or recovery procedures. API reliability, SDK compatibility and actual encryption behavior have not been assessed through execution.

Reasoning

The practical value is the explicit separation between registering a cloud key, checking it and attaching it to a workspace. Registration alone does not complete the documented procedure. Because attachment is irreversible and historical data remains under Anthropic’s key, workspace choice and key lifecycle planning matter before the final call. Validation success alone does not establish complete data coverage or compliance.

Alternatives

For registration and validation, the page identifies equivalent Claude Console actions: Add key and Verify. The ant CLI provides command-based examples for all three operations. Claude Enterprise and Claude Platform on AWS require their separate setup guidance at [https://platform.claude.com/docs/en/manage-claude/cmek#set-it-up]. Those procedures and competing services are not assessed here.

Evidence

The evidence is the complete documentation page at [https://platform.claude.com/docs/en/manage-claude/cmek-admin-api.md]. Its front matter identifies the public page as [https://platform.claude.com/docs/en/manage-claude/cmek-admin-api]. It supplies prerequisites, request samples, illustrative responses and explicit attachment warnings. It contains no independent performance measurements or observed deployment results.

Access & freshness

Costs

The page states no CMEK price, required subscription price, Admin API charge or cloud key-service pricing. Total cost, including any provider charges, is unknown.

Rights

The page does not state licensing or redistribution terms for its documentation or code samples. Applicable service terms and contractual rights are also absent. These permissions cannot be determined from this page.

Freshness

The documentation capture is dated 2026-11-15T06:48:49.241Z. Its cURL examples specify API version 2026-10-21; that request header does not establish the page’s publication date. No publication date, last-update date or minimum SDK or CLI version is stated. Changes after the capture are unknown.

Actions

Confirm organization eligibility, provider setup and the intended retaining workspace before following the examples. Check the validation response before attempting attachment. Review the linked lifecycle guidance at [https://platform.claude.com/docs/en/manage-claude/cmek-key-lifecycle#what-each-action-does] before making the irreversible association. After attachment, the documented response field to inspect is external_key_id; this alone does not establish coverage of every data type.

Evidence for this report

selected-page.txtselected · checked 2026-11-15