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, <key-vault-name>
with the name of the Key Vault, and <key-name>
with the name of the key.Step 5: Verify that the disk is now using Server-Side Encryption with CMK by running the following command:EncryptionAtRestWithCustomerKey
.Step 6: Repeat the above steps for all the disks in your subscription that are not using Server-Side Encryption with CMK.By following the above steps, you can remediate the misconfiguration “Server Side Encryption for Non-Boot Disk using CMK” for AZURE using AZURE CLI.Using Python
your_subscription_id
, resource_group_name
, key_vault_name
, key_name
, key_version
, and account_name
with your own values.These steps should help you remediate the misconfiguration of Server Side Encryption for Non-Boot Disk using CMK in AZURE using python.