# Ensure that 'Unattached disks' are encrypted with 'Customer Managed Key' (CMK)

- Source: https://support.icompaas.com/support/solutions/articles/62000229892-ensure-that-unattached-disks-are-encrypted-with-customer-managed-key-cmk-
- Section: [Solutions](https://support.icompaas.com/support/solutions) › [General](https://support.icompaas.com/support/solutions/62000037933) › [Azure Compliance / Control / Check](https://support.icompaas.com/support/solutions/folders/62000168797)
- Last updated: 2026-05-29
- Publisher: iCompaas, Inc. (https://www.icompaas.com)

Description:

Unattached disks in Azure (disks not currently connected to any VM) must be encrypted using a Customer Managed Key (CMK).  
Unattached disks may contain sensitive data and should be secured with customer-controlled encryption instead of Azure’s default Platform Managed Key (PMK).

  

Rationale:

Unattached disks can be downloaded, attached to another VM, or exported.  
Encrypting them with CMK ensures customers control key access and rotation, strengthening security and meeting compliance requirements.

  

Impact:

If unattached disks are not encrypted with CMK:

-   Sensitive data may be exposed if the disk is downloaded or misused
    
-   No customer control over encryption keys
    
-   Not compliant with security standards (ISO, SOC 2, HIPAA, PCI)
    
-   Higher risk in case of disk export, snapshot misuse, or accidental access
    

  

Default Value:

-   Azure encrypts disks using Platform Managed Key (PMK) by default.
    
-   CMK encryption is not enabled automatically for unattached disks.
    

  

Pre-requisites:

-   Access to Azure Portal (Owner or Contributor)
    
-   An Azure Key Vault was created
    
-   A Customer Managed Key (CMK) was created
    
-   A Disk Encryption Set (DES) linked to the CMK
    

  

Test Plan:

1.  Log in to the Microsoft Azure Portal [https://portal.azure.com](https://portal.azure.com/)
    
2.  In the search bar, search for Disks.
    
3.  In the Disks list, identify disks where Status = Unattached.
    
4.  Select an unattached disk.
    
5.  Under Settings, select Encryption.
    
6.  Verify that key management is set to Customer-managed key.
    
7.  Verify a Disk Encryption Set is selected.
    
8.  Repeat the above steps for all unattached disks.
    
9.  If any unattached disk shows a Platform-managed key, follow the Implementation Steps
    

![](https://support.icompaas.com/assets/kb/03cc46c6b2889dae.png)

Implementation Steps:

1.  Log in to the Microsoft Azure Portal [https://portal.azure.com](https://portal.azure.com/)
    
2.  Create or open an existing Azure Key Vault.
    
3.  Create a Customer Managed Key (CMK) in the Key Vault.
    
4.  Create a Disk Encryption Set (DES) and link it to the CMK.
    
5.  In the Azure Portal search bar, search for Disks.
    
6.  In the Overview section, identify disks where Status = Unattached.
    

![](https://support.icompaas.com/assets/kb/2f90972b52f32d79.png)

7.  Select an unattached disk.
    
8.  Under Settings, select Encryption.
    

                            ![](https://support.icompaas.com/assets/kb/93fac7353ae166a2.png)

9.  Change Key management to Customer-managed key.
    

![](https://support.icompaas.com/assets/kb/403d24ea22681c5e.png)

10.  Select the appropriate Disk Encryption Set.
     
11.  Click Save to apply the changes.
     

  

Backout Plan:

1.  Sign in to the Azure portal at [https://portal.azure.com](https://portal.azure.com/).
    
2.  Open the unattached disk.
    
3.  Under Settings, click Encryption.
    
4.  Change the Encryption type back to Platform-managed key (PMK).
    
5.  Click Save to apply the changes.
    

  

References:

-   [https://learn.microsoft.com/azure/virtual-machines/disk-encryption](https://learn.microsoft.com/azure/virtual-machines/disk-encryption)
    
-   [https://learn.microsoft.com/azure/virtual-machines/disk-encryption-set](https://learn.microsoft.com/azure/virtual-machines/disk-encryption-set)
    
-   [https://learn.microsoft.com/azure/key-vault/general/](https://learn.microsoft.com/azure/key-vault/general/)

## Related compliance guidance

- [SOC 2 compliance: a practical implementation guide for cloud-native SaaS teams](https://support.icompaas.com/compliance/soc-2-trust-services-criteria): Configuration checks like this one are the technical half of a SOC 2 / ISO 27001 programme — the guide shows where they fit, what else an auditor expects, and how to evidence them.
- [ISO/IEC 27001:2022 compliance: a practical implementation guide](https://support.icompaas.com/compliance/iso-27001-2022): ISO 27001 Annex A.8 (technological controls) is where cloud hardening evidence lands; the guide shows how to run the ISMS around it.
