Customer-managed key
A customer-managed key is a cryptographic key whose lifecycle and access permissions are controlled by the customer rather than solely by the service provider.
Azure Security
A customer-managed key is cryptographic key material whose lifecycle and access are controlled by the Azure customer rather than the service provider.
- How it is used
- Uses customer-controlled keys to protect Azure Storage encryption rather than relying solely on Microsoft-managed keys.
- How deep it goes
- Walks through Key Vault setup, key creation, managed-identity authorization, storage configuration, and encryption scopes.
- Examples
- Demonstrates Azure CLI creation of a Key Vault, key, system-assigned identity, RBAC assignment, storage encryption, and CMK encryption scope.
- What you can do after
- Operate/configure Azure Storage encryption with a Key Vault-backed key and managed-identity access.
MongoDB 8.0 in Action, Third Edition
A customer-managed key is a cryptographic key whose lifecycle and access permissions are controlled by the customer rather than solely by the service provider.
- How it is used
- Protects Atlas data at rest while giving customers control over key access, lifecycle, compliance, and provider revocation.
- How deep it goes
- Explains layered CMK, DEK, database-key, and node-startup behavior, then stops short of provider-specific setup commands.
- Examples
- Uses AWS KMS architecture, per-database keys, per-node DEKs, encrypted Atlas snapshots, and restore credentials as concrete examples.
- What you can do after
- Operate/configure Atlas encryption with customer-controlled keys and preserve the credentials required to restore encrypted backups.
Read how MongoDB 8.0 in Action, Third Edition explains customer-managed key →
What to know first
- role-based access controlRole-based access control is an authorization model that assigns permissions to roles and grants users or other principals access through their assigned roles.
Related concepts
- Azure Key Vaultuses · Azure Key Vault is a Microsoft Azure cloud service for securely storing and managing secrets, cryptographic keys, and certificates.
- Azure Storageused by · Azure Storage is Microsoft’s cloud storage platform, providing services for storing and accessing data such as blobs, files, queues, tables, and disks.
- Azure OpenAIconfigured by · Azure OpenAI Service is Microsoft’s managed Azure cloud service for accessing OpenAI models through Azure-hosted deployments, APIs, infrastructure, and controls.
Questions about customer-managed key
What is customer-managed key?
A customer-managed key is a cryptographic key whose lifecycle and access permissions are controlled by the customer rather than solely by the service provider.
Which Manning books explain customer-managed key?
Azure Security and MongoDB 8.0 in Action, Third Edition.
What should I know before learning customer-managed key?
Manning books that teach customer-managed key usually introduce role-based access control first.
What is the difference between customer-managed key and Azure Key Vault Managed HSM?
A customer-managed key is a cryptographic key whose lifecycle and access permissions are controlled by the customer rather than solely by the service provider. Azure Key Vault Managed HSM is a fully managed, single-tenant hardware security module service for protecting and using cryptographic keys.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

