How to encrypt (and decrypt) your Azure VM disks after deployment


This is how you can encrypt your Azure virtual machine disks :

You can find your keyvault Resource ID here :
 
Keyvault resource ID
The reason that I used the Resource id instead of the keyvault name is that now it’s possible for the keyvault to be part of another resourcegroup.
 
Use the following command to decrypt your VM :
 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.