VM Encryption
Cheat sheet · https://pcornel.dk/topic.php?topic=5052
Answer
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.
Remember
- VM encryption protects files from storage admins and theft.
- It needs a key provider.
- Backup tools must support encrypted VMs.
First checks
Get-VMSecurity <vm> | fl EncryptStateAndVmMigrationTraffic— Hyper-V- vSphere VM encryption policy and KMS — VMware
- Encrypted vMotion/migration — in transit
Verify in this order
VM files → encrypted with KMS keys
Where it usually breaks
First mismatch in platform/workload identity → desired configuration → management/control plane → runtime enforcement → telemetry → workload/resource outcome; preserve identity/policy/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5052