I want to know if we are able to change the partition policies on Azure Dedicated HSMs

Riley 0 Reputation points
2025-08-05T16:08:45.8033333+00:00

I want to know if we are able to change the partition policies on Azure Dedicated HSMs. I saw that the Azure Dedicated HSM is getting retired and that if we don't have a specific security policy set, then the keys have to be remade in the Azure Cloud HSM. I thought with an Azure Dedicated HSM that you cannot actually change any default partition policies, as you cannot ssh into the HSM, is that correct? If that is correct or not, how can I take a look at my partition policies on the HSM?

Azure Dedicated HSM
Azure Dedicated HSM
An Azure service that provides hardware security module management.
{count} votes

1 answer

Sort by: Most helpful
  1. Praveen Chivarla 2,005 Reputation points Microsoft External Staff Moderator
    2025-08-28T10:23:33.5166667+00:00

    Hi @Riley,

    Thank you for posting your query on Microsoft Q&A.

    As per our understanding, you would like to know if it is possible to change the partition policies on Azure Dedicated HSMs. If that is not possible, you want to understand how to view the current partition policies on your HSM. Additionally, you are seeking information about what to expect regarding key migration and policy management considering the upcoming retirement of Azure Dedicated HSM.

    Please review the detailed responses to your concerns below:

    1. Can I change partition policies on Azure Dedicated HSMs? No, partition policies on Azure Dedicated HSMs are set when the partition is created and cannot be changed afterward. These policies control things like cryptographic capabilities and quorum settings. Changing them later would require zeroizing the partition, which deletes all keys and data. SSH access to the HSM is not available; all management is done via the Azure Portal or Azure CLI.
    2. How can I check my current partition policies? You can review your partition policies either through the Azure Portal or Azure CLI:
      • In the Azure Portal, go to your Dedicated HSM resource, select Partitions under Settings, and click on each partition to see size, quorum, and capabilities.
        • Via Azure CLI, use commands like:

    az dedicated-hsm partition list --resource-group MyResourceGroup --hsm-name MyHsmName --output table

    and

    az dedicated-hsm partition show --resource-group MyResourceGroup --hsm-name MyHsmName --partition-name PartitionName --output json

    1. What if I need a different partition policy? To use a different policy, create a new partition with the desired settings and migrate or recreate your keys there. The existing partition’s policy cannot be updated.
    2. What should I know about the retirement of Azure Dedicated HSM and migration? Since Azure Dedicated HSM is being retired, you should plan to migrate to Azure Managed HSM or Azure Key Vault HSM. Note that:
      • You cannot migrate existing keys unless the policies are compatible.
        • You might need to recreate keys in the new service.
          • Reviewing partition policies now will smooth your transition.

    References:

    https://v4.hkg1.meaqua.org/en-us/azure/dedicated-hsm/

    https://v4.hkg1.meaqua.org/en-us/azure/dedicated-hsm/migration-guide

    Please "Accept as Answer" if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues.

    0 comments No comments

Your answer

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