How I can use CMKs from a key vault from one subscription for the VMs in another subscription

Aditya Vashisth 25 Reputation points
2023-06-19T09:04:30.3733333+00:00

I have a key vault present in subscription A I want to use it for the VMs present in subscription B. How can we achieve this goal.

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,156 questions
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.
162 questions
0 comments No comments
{count} votes

Accepted answer
  1. Alistair Ross 7,106 Reputation points Microsoft Employee
    2023-06-19T09:41:48.71+00:00

    Hello @Aditya Vashisth

    The only limitation you would have is one set by yourself with permissions. Azure does not place any restrictions on you accessing keys in a different subscription within the same tenant.

    Follow the steps here and create your key vault in Subscription A and the VM in Subscription B. https://learn.microsoft.com/en-us/azure/virtual-machines/disks-enable-customer-managed-keys-portal

    If you are wanting to use Key Vault across tenants, then read the documentation here to find which scenarios best suits your requirements, https://learn.microsoft.com/en-us/azure/architecture/guide/multitenant/service/key-vault

    kind regards

    Alistair


0 additional answers

Sort by: Most helpful