View key protectors for shielded VM
Check the key protectors on a shielded VM
John Savill
May 13, 2017
1 Min Read
Q. How can I view the key protectors for a shielded VM?
A. To check the key protectors and certificates used for a shielded VM use the following PowerShell:
$kp = Get-VMKeyProtector -VMName ShieldedVM
$hgskp = ConvertTo-HgsKeyProtector $kp
$hgskp.Owner | fl SigningCertificate, EncryptionCertificate
If you have additional guardians these could be viewed by looking at $hgskp.Guardians.
About the Author
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
You May Also Like