Azure Disk Encryption impact on Application Side

Dinesh Kumar Palani 25 Reputation points
2023-06-06T16:16:44.02+00:00

Hello Team,

I would like to understand the impact of enabling Azure Disk Encryption at the application level. This is being enabled in existing VM's where applications are running, so would like to check whether application code changes are required for accessing the data in Data disk/OS disk using the keys in Keyvault.

Additionally, is it best practice to set expiration date for the automatic keys (wrapped BEK) in the Keyvault and what would be the impact if it is expired?

Thanks,

Dinesh

Azure Disk Encryption
Azure Disk Encryption
An Azure service for virtual machines (VMs) that helps address organizational security and compliance requirements by encrypting the VM boot and data disks with keys and policies that are controlled in Azure Key Vault.
175 questions
{count} votes

Accepted answer
  1. KarishmaTiwari-MSFT 20,212 Reputation points Microsoft Employee
    2023-06-07T06:51:45.96+00:00

    @Dinesh Kumar Palani Thanks for posting your query on Microsoft Q&A.

    Application code changes are not required while accessing data in an Azure Disk Encryption enabled disk.
    Here's a detailed comparison of various encryption options available for VMs - https://learn.microsoft.com/en-us/azure/virtual-machines/disk-encryption-overview#comparison

    Should Key Vault keys have an expiration date?
    Cryptographic keys should have a defined expiration date and not be permanent. Keys that are valid forever provide a potential attacker with more time to compromise the key. It is a recommended security practice to set expiration dates on cryptographic keys.

    You can learn more about auto-rotation of encryption keys here - https://learn.microsoft.com/en-us/azure/virtual-machines/linux/disk-encryption-key-vault?tabs=azure-portal#azure-disk-encryption-and-auto-rotation

    Additional Reading:

    I hope this helps.


    If you have any questions at all, please let me know in the "comments" and I would be happy to help you. Comment is the fastest way of notifying the experts.

    Please don’t forget to Accept Answer and hit Yes for "was this answer helpful" wherever the information provided helps you. This can be beneficial to other community members for remediation for similar issues.

    User's image

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.