What are customer-managed encryption keys? Explained with a key cabinet
Customer-managed encryption keys (CMEK) let you keep the master key that protects your data in your own key service. Picture a storage building whose box keys sit in a key cabinet you own.
- Author
Umair Mateen- Published
- Reading time
- 5 min
- Category
- Engineering
Several of our recent news posts, including Claude's new file transfers and Claude Ship, list "customer-managed encryption keys" among the setups that can't use a new feature yet, so here is what that setting means.
In one sentence: Customer-managed encryption keys (CMEK) let a business keep the master key that protects its data inside its own key service, so the provider has to ask that service every time it locks or opens the data, and the business can see every request and switch the key off.
The everyday picture
Picture a storage building where you keep boxes of papers. The building's staff lock each box with its own small key. Normally, the building also keeps all those small keys in its own key cabinet.
Now picture a different deal. The staff still lock each box with a small key. But before they put a small key away, they lock it inside a key cabinet that belongs to you. The cabinet has a visitor log. Only your cabinet's master key can release the small keys, and that master key never leaves your cabinet.
That second deal is CMEK. The provider still stores and locks your data. You own the cabinet.
The provider locks your data with data keys, and your own key service locks those data keys. Each request is logged, and if you switch your key off, the provider can't open the data.
How it works, step by step
- You store data with a provider (you leave boxes at the building). In Claude, Anthropic's help centre says this can include your team's chats, projects and files.
- The provider encrypts the data with data keys (staff lock each box with a small key).
- Your key wraps the data keys (the small keys go into your cabinet). The master key lives in a key management service (KMS) in your own cloud account, such as AWS KMS, Google Cloud KMS or Azure Key Vault. Anthropic's docs say your key never leaves your KMS, your data never goes to it, and Anthropic keeps no copy of your key.
- Each use is logged (the visitor log). To read or write data, the provider asks your KMS to wrap or unwrap a data key. Your cloud's audit log can record each of those requests.
- You stay in charge of the key (you hold the cabinet). Depending on the key service, you can control who may use the key, rotate it, disable it or destroy it. Google's documentation says that if the key is disabled or destroyed, the data it protects can't be accessed.
Try it · Myth or fact
Customer-managed keys: myth or fact?
Decide for yourself first, then tap each statement to check it.
0 of 4 checked
Where the picture stops
- A real cabinet holds physical keys. Here, nothing is handed over: the provider sends a data key to your key service, which locks or opens it and sends it back. The master key itself never moves.
- CMEK does not mean the provider can never read your data. To run the service, it still opens data when it needs to. What changes is that it needs your key's permission each time, and you can see and stop it.
- It does not reach back in time. Anthropic's docs say only data written after the key takes effect is protected by it; older data stays under Anthropic's own key.
Why it matters for your business
- Control you can prove. Some contracts and security teams want a business to hold its own keys. CMEK gives you a key you own and a log of each time it was used. With default encryption, Google says customers can't manage the keys or review key usage logs.
- A real off switch, and a real risk. Disabling the key cuts off access. That is the point, but a mistake can lock your own team out. Google warns that some services can lose data permanently if a key stays disabled or unreachable for too long.
- Extra cost and setup. Default encryption is built in. CMEK means creating keys, granting access and keeping them healthy. AWS charges a monthly fee plus usage fees for customer managed keys, and Google Cloud KMS charges by key versions and operations.
- Some new features arrive later. As our news posts on computer use and file transfers show, organisations using CMEK sometimes can't turn on new betas straight away.
Try it · Side by side
Provider's key cabinet or your own?
Tap what matters to you (pick one or more) and see which option fits.
Default (provider-managed)
- Nothing to do. It is built in.
- Usually no separate key fee.
- Depends on the provider; often not.
- You rely on the provider.
- The provider looks after the key.
- The key is not yours to hold.
Customer-managed key
- You create the key, grant access and connect it.
- Your key service charges for keys and usage.
- Your own audit log records each request.
- You can disable the key in your own account.
- A disabled or lost key blocks your own team too.
- Designed for this.
Pick what matters to you and the better fit lights up.
An example
Imagine a 40-person accounting firm whose client contracts say it must control the keys to stored client records. It sets up a key in its own cloud key service and connects it to the AI tool it uses. Its IT lead can now see each time the provider used the key. If the firm ever ends the contract, it can disable the key, and data protected by that key can no longer be read. In return, it pays for the key service.
Frequently asked questions
Is CMEK the same as encryption?
No. Your data is encrypted either way. CMEK changes who owns and controls the key that protects the encryption keys.
Does CMEK stop the provider reading my data?
Not on its own. The provider still opens data to run the service, but only with your key's permission, and your key service can log each request.
What happens if I disable my key?
The provider can no longer open data protected by that key, so it can't be read. Check your provider's documentation before doing this, because some services warn of permanent data loss if a key stays off too long.
Which Claude plans offer CMEK?
At the time of writing, Anthropic's help centre says it is available to eligible organisations on Enterprise plans and the Claude Platform, using AWS KMS, Google Cloud KMS or Azure Key Vault.
Related explainers
The DevDrift helps teams set up cloud platforms with sensible security controls: see how.
Sources
Could you explain this to a colleague now?
Mark it and posts that mention it will show a tick. Saved in this browser only.