Securing Key Vault Used by Azure Disk Encryption (ADE)

Hunter French 35 Reputation points

Is it possible/advisable to secure the key vault used by Azure Disk Encryption? Defender wants me to use private link but I am hesitant to enable it, fearing that the VM will lose the ability to pull the key from the vault for proper functionality. Any chance I can disable public access on the vault and just allow the option to "Allow trusted Microsoft services to bypass this firewall" and still have things work?

Virtual network service endpoints for Azure Key Vault | Microsoft Learn

This shows "Azure Disk Encryption volume encryption service" as a trusted service. So much of me wants to move the firewall to "Disable public access" with "Allow trusted Microsoft services to bypass this firewall."

If I do activate it, how can I test to ensure proper functionality with the vault firewall turned on?

  1. Anonymous

    Hello Hunter French

     Just checking in to see if the provided answer helped. if you have any further queries do let us know.


Sign in to comment

Answer accepted by question author

Anonymous

Hello Hunter French

Yes, it is both possible to secure the Key Vault used by Azure Disk Encryption (ADE) by enabling private link or, as you suggested, disabling public access and allowing trusted Microsoft services to bypass the firewall.

Refer- https://learn.microsoft.com/en-us/azure/key-vault/general/secure-key-vault

In the Key Vault's networking settings, set the firewall to "Disable public access." Enable the option "Allow trusted Microsoft services to bypass this firewall. Confirm that "Azure Disk Encryption volume encryption service" is included in the trusted services list. This is typically enabled by default when you select the option."

To ensure the VM can still access the Key Vault after enabling the firewall before applying changes, take a snapshot or backup of the VM and its disks to allow rollback if needed. Deploy a test VM with Azure Disk Encryption enabled, using the same Key Vault configuration.

  • Apply the firewall settings (disable public access, allow trusted services). Trigger a key rotation or re-encryption process on the test VM (e.g., by updating the encryption settings in the Azure portal). Monitor the VM's encryption status in the Azure portal under "Disks"

After successful testing, apply the changes to the production Key Vault and monitor VM behavior over 24-48 hours, especially during key usage (e.g., VM restarts or disk operations).

Let me know if you have any question or concern, we are here to help!

0 comments No comments

Sign in to comment

1 additional answer

  1. Hunter French 35 Reputation points

    @Anonymous Yes, this is resolved. Thanks!

    1. Anonymous

      Hello Hunter French,

      If this answers your query, do click "Accept the answer” for the same, which might be beneficial to other community members reading this thread. And, if you have any further queries do let us know.


    Sign in to comment
Sign in to answer

Your answer