Using Console
Using CLI
<resource-group-name>
with the name of the resource group that contains the disk, <disk-name>
with the name of the disk, <encryption-type>
with the encryption type you want to use (e.g. “EncryptionAtRestWithPlatformKey”), and <key-source>
with the source of the encryption key (e.g. “Microsoft.Keyvault”).
Using Python
subscription_id
, vault_rg
, vault_name
, secret_url
, and key_url
with the appropriate values for your environment.