Use this when encrypting VMs at the hypervisor layer for security.
VM Encryption
VM encryption in virtualization security protects VM disks and files from theft at the storage layer and in backups, with keys held by a key provider so storage admins cannot read VM data.
1. VM encryption protects VM files and migration traffic.
2. Requires key providers (KMS/HGS).
3. Encrypt backups too.
4. Key loss = VM loss.
5. Separate key admins.
VM files → encrypted with KMS keys
Context & applicabilityCommon mistakes · platform/version boundaries
- Key provider not backed up — encrypted VMs become unrecoverable.
- Encryption enabled without considering backup software support.
- Assuming VM encryption protects against guest-level compromise.
- Cloning or exporting encrypted VMs to systems without the key.
Operational reference
Fast context before you go deeper.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- VM encryption protects files from storage admins and theft.
- It needs a key provider.
- Backup tools must support encrypted VMs.
Get-VMSecurity <vm> | fl EncryptStateAndVmMigrationTraffic— Hyper-V- vSphere VM encryption policy and KMS — VMware
- Encrypted vMotion/migration — in transit
ReferenceWhy it matters1 section · depth on demand
Options
| Platform | Mechanism |
|---|---|
| vSphere | VM Encryption with a key provider (native or KMS) |
| Hyper-V | Shielded VMs / BitLocker in the guest |
| Proxmox / KVM | Encrypted storage (LUKS, ZFS native encryption, Ceph encryption) |
| Cloud | Disk encryption with KMS keys |
Encryption at the hypervisor layer protects against stolen disks or datastore access, not against a compromised guest OS.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
VM encryption encrypts virtual machine files — disks, configuration, memory swap — at the hypervisor level, protecting against theft of storage, backup media or datastore access. The guest OS is unaware of it.
| Option | How |
|---|---|
| Hypervisor VM encryption (vSphere, Hyper-V shielded VMs) | Per-VM keys from a KMS |
| Storage-level encryption (vSAN, array) | Encrypts datastores |
| Guest encryption (BitLocker, LUKS) | Encrypts inside the VM; protects even from hypervisor admins with storage access |
Key management is the critical part: use a KMS with redundancy and backups, restrict who can manage keys, and remember that hypervisor administrators can still access running VMs — guest-level controls are needed against privileged insiders.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Virtualization Security → VM Encryption. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://csrc.nist.gov/pubs/sp/800/125/final · confidence 94%