Virtual TPM
Cheat sheet · https://pcornel.dk/topic.php?topic=5051
Answer
A virtual TPM in virtualization security lets VMs use BitLocker, measured boot and credential protection. Protect its state with VM encryption and a key provider, and back up the keys.
Remember
- A vTPM needs UEFI and a key provider.
- Back up the vTPM keys.
- Protect it with VM encryption.
First checks
Get-VMSecurity <vm>— vTPMqm config <vmid> | grep tpmstate— Proxmox vTPM- vTPM state backup and key protection — recoverability
Verify in this order
vTPM state → guest TPM → disk 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=5051