Customer-Managed Encryption Keys Explained: Who Really Holds Your Cloud Keys?

Customer-managed encryption keys let you control the keys that protect your data at rest in a cloud service, instead of leaving all key decisions to the provider. You gain visibility, rotation control, audit logs and a revocation lever, but you also take on availability risk: if the key is disabled, destroyed or unreachable, the data it protects becomes unreadable. They suit organizations with a regulatory, contractual or separation-of-duties need, not every team.
Compare encrypted cloud storage platforms and their key management options on SecureTools.
The Short Answer: Who Holds Your Keys by Default
Almost every major cloud service encrypts stored data by default, and in most cases the provider creates, stores and manages the keys. That is convenient and, for many teams, perfectly adequate. The phrase encrypted at rest only tells you that data is scrambled on disk. It does not tell you who controls the keys, who can see how they are used, or who can shut access off.
Google's documentation describes its default arrangement plainly: the keys are owned and controlled by Google, customers cannot view or manage them or review their usage logs, and the key-encrypting keys may be shared across multiple customers. Amazon describes its service-owned keys in similar terms, noting that customers cannot change their policies, audit their activity or delete them.
Customer-managed keys move some of those decisions to you. This guide explains how, what you gain, and what you take on in return. If you are new to the wider topic, start with our comparison of end-to-end encryption and encryption at rest.
Envelope Encryption in Plain English
Cloud services rarely encrypt a file directly with the key you manage. They use envelope encryption: a fresh data key encrypts the file, and a higher-level key encrypts that data key. When you hear about customer-managed keys, you are usually talking about the higher-level key, the one that wraps the others.

This design is why key control works at scale. Changing or revoking the top-level key affects every data key beneath it without re-encrypting terabytes of files one by one. Google states that its keys are 256-bit AES-GCM keys used for symmetric envelope encryption and that key material never leaves the Cloud KMS system boundary. Amazon explains that data encrypted under a KMS key can be decrypted only through a call to its key management service, and that rotating a key creates new backing key material while older material is kept to decrypt earlier data.
In practical terms: your files stay where they are, and the question of who can unlock them moves to a small, auditable key service.
Four Key Models Compared
Vendors use different names, so treat this as a map rather than a dictionary. The pattern is the same: the further down the table, the more control you hold and the more responsibility you carry.
| Model | Who creates and controls the key | What you can see or change | Effect of losing or revoking the key |
|---|---|---|---|
| Provider-owned default | The provider, often shared across customers | Nothing about the key itself | Not your decision; the provider can access data to run the service |
| Provider-managed, visible | The provider in your account or tenant | Key metadata and usage logs, but no changes | You cannot revoke it independently |
| Customer-managed key | You, through the provider's key service | Policies, enable and disable, rotation, audit logs, deletion scheduling | Data becomes inaccessible while the key is disabled, destroyed or unavailable |
| Imported or bring-your-own key | You generate key material outside and import it | Everything above, plus the origin of the material | You must keep your own copy, or you may be unable to restore it |
| Client-side encryption | You, on your own devices, before upload | Everything; the provider only stores ciphertext | Lost keys mean unrecoverable data, and server-side features may not work |
The last row is where encryption becomes zero-knowledge, discussed in our guide to what zero-knowledge encryption means and what it does not. Customer-managed keys sit in the middle: you control the lock, but the service still performs processing on your behalf.
What You Actually Gain With Customer-Managed Keys
The benefits are real but specific. Google lists them for its customer-managed option: you can view key metadata, keys are unique to you rather than shared, you control rotation, administrative and data-access activity on the key can be logged, and you can apply organization policies about keys. It also notes support for regulatory requirements that default encryption does not provide.
Amazon summarizes the same trade for its three key types: with customer managed keys you establish the key policy and manage the lifecycle, including enabling, disabling, rotating and scheduling deletion, and you can audit use in CloudTrail. Its guidance is direct about when to choose them: customer managed keys when control is important, service-owned keys when convenience is most important.
- Visibility: you can see who and what used a key and when.
- Separation of duties: people who administer keys can be different from people who administer files, so no single administrator holds both.
- Rotation policy: you decide how often key material changes and can trigger a change after an incident.
- Revocation: you hold a switch that cuts the service off from your data, with the risks covered below.
- Evidence: key logs and policies give auditors something concrete to examine.
Revocation: Your Kill Switch and Your Foot-Gun
The headline feature of customer-managed keys is also the sharpest edge. Google states that if you disable or destroy a customer-managed key, the data it protects cannot be accessed, and the same happens if you revoke the service agent's permission to use the key. It warns that for some services, data can be permanently lost if the key stays disabled or inaccessible for too long.

Microsoft describes an equivalent design for Customer Key in Microsoft 365. In its model, data is protected by a hierarchy that includes an availability key held by Microsoft, and revoking access to your keys triggers deletion of that availability key, resulting in cryptographic deletion of your data. The documentation presents this as a deliberate exit and data purge path, which shows how final the action is.
Treat revocation like a production database drop. Restrict who can do it, require a second approval, document the circumstances in which it is allowed and rehearse the consequences in a test environment. Keep copies of key policies and, where you import key material, a protected copy of the material itself.
What Customer-Managed Keys Do Not Do
It is easy to over-read the benefit. Customer-managed keys do not make a provider blind to your data. In the Microsoft model, you explicitly authorize Microsoft 365 to use your keys to deliver services such as eDiscovery, anti-malware, anti-spam and search indexing. The service has to read the content to do those jobs, which means the provider's systems can still process it while the key is available.
- They protect data at rest in the provider's cloud. Microsoft states that Customer Key encrypts only data at rest in the cloud and does not protect on-premises mailboxes or files.
- They do not stop a user or application that already has legitimate access from copying data out.
- They do not replace strong authentication, permission reviews or monitoring.
- They do not provide zero-knowledge guarantees; for that you need client-side encryption where the provider never holds the key.
If your threat is a compromised account rather than a curious provider, a cloud storage permission audit will usually reduce more risk than a change of key model.
Rotation, Versions and the Key Lifecycle
A key is not a one-time decision. It is created, used, rotated, retired and eventually destroyed, and each stage needs an owner. NIST's Special Publication 800-57 Part 1, a general key management recommendation, covers the security services cryptography provides, key types, protection requirements for each type and key management functions, and it is a common reference when organizations write key management policies.
Rotation is the clearest example. With Amazon, rotating a customer managed key creates new key material for future encryption while older material remains available to decrypt existing data, and automatic rotation is optional for customer managed keys. Service-managed keys are rotated on the provider's schedule. Google lets you set or change the rotation period or trigger a rotation yourself and supports many key versions per key.
- Decide your rotation schedule and write down the reason for it.
- Name who approves rotation, who performs it and who verifies that applications still work.
- Define what triggers an unscheduled rotation, such as suspected compromise or a departing key administrator.
- Decide when old versions are disabled and when, if ever, they are destroyed.
- Log every lifecycle event and review the log on a schedule.
Availability: Your Keys Become a Dependency
Once your data depends on a key you control, that key's availability becomes part of your uptime. Google explains that when a request arrives, the service agent decrypts the resource only if it has permission and the key is not disabled or destroyed; otherwise the request fails. A misapplied permission change can therefore look like an outage.

Plan for this in the same way you plan for any critical dependency. Limit who can change key permissions, alert on changes to key state, and test what happens to applications when the key is unavailable. If you use multiple regions or providers, understand where each key lives and whether a regional problem could block access to data stored elsewhere.
Backups need attention too. A backup encrypted with a key you later destroy is unreadable, which is one reason to include key material and key metadata in your recovery plan. Our guide to ransomware-proof cloud backups shows where keys fit in a rebuild.
Who Actually Needs Customer-Managed Keys
For many small businesses the provider's default encryption, strong sign-in controls and careful sharing settings deliver more security per hour of effort than key management. Amazon's guidance reflects this: unless you are required to control or audit the key, a service-owned key is a good choice. Consider customer-managed keys when one of these applies.
- A regulator, customer contract or internal policy requires you to control or audit the keys protecting specific data.
- You need to demonstrate separation of duties between those who administer keys and those who administer storage.
- You want the ability to cut a provider off from data quickly, and you have accepted the consequences.
- You already operate a key management service and want one consistent control plane.
- You handle data sets that justify the extra operational work, such as regulated or highly confidential records.
If none of these applies, spend the effort elsewhere first. When you are unsure, the checklist in how to choose encrypted cloud storage helps you compare what you actually need.
The Cost and Effort Side
Customer-managed keys carry an operating cost. Amazon notes that customer managed keys incur fees for existing and for use, whereas its service-owned keys carry none. Cloud providers' pricing pages change, so check current terms rather than relying on any figure in an article. The larger cost is usually people: someone must own the key policy, monitor the logs, run rotation and respond to key-related incidents.
Weigh that against the benefit honestly. A control that nobody maintains is worse than a default that the provider keeps healthy, because gaps appear quietly. If you adopt customer-managed keys, budget for training, a runbook and a regular review.
Questions to Ask Your Vendor
When a storage or file sharing vendor says it supports customer-managed keys or bring-your-own-key, ask what that means in practice. The answers separate real key control from marketing.
- Which data does the customer-managed key protect, and which data stays under provider keys?
- Do you support importing my own key material, and who can see it after import?
- What happens to my data, and to features such as search and previews, if I disable or revoke the key?
- Can I see key usage logs, and how long are they kept?
- What are the rotation options, and does rotation require downtime?
- How do your support staff gain access to my data, and does that depend on my key?
- Which security evidence can you show me for the key service, and how should I read it?
Our guide to reading a vendor's security whitepaper explains how to judge the evidence you receive.
A Safe Rollout Checklist
- Decide the business reason in one sentence, and confirm that default encryption is genuinely insufficient.
- Pilot on non-critical data in a separate project or tenant.
- Define roles: key administrators, key users and auditors, with no single person holding all three.
- Set rotation, logging and alerting before moving real data.
- Write the revocation and recovery procedures, including who approves each action.
- Back up key policies and, where imported, protected copies of the key material.
- Run a tabletop exercise that simulates a disabled key and measures the impact.
- Expand in stages, and review the whole setup on a fixed schedule.
Frequently Asked Questions
They are encryption keys that you control in the provider's key management service, used to protect your data at rest in that provider's cloud. You decide key policies, rotation, and whether a key is enabled or disabled, and you can audit usage. The provider still stores and processes the data, but it can only decrypt it while your key is available and permitted.
Sources and Further Reading
This guide draws on the pages below. Vendor documentation and standards change, so check the current version before relying on a detail.
- Google Cloud customer-managed encryption keys overview (docs.cloud.google.com)
- AWS KMS keys and key types (docs.aws.amazon.com)
- Microsoft Purview Customer Key overview (learn.microsoft.com)
- NIST SP 800-57 Part 1 Revision 5 (csrc.nist.gov)
Related Articles

About the Author: Mohamed Siraj
Mohamed is the founder of SecureTools.live. He leads the team in building secure, compliant, and privacy-first directory tooling for software teams, finance professionals, and enterprise security leaders worldwide.