Share via

Can infrastructure (double) encryption be enabled on an existing Azure Service Bus namespace? Does it require the namespace to be recreated?

Hailey Martinez 0 Reputation points
2025-12-18T17:30:45.5+00:00

Can infrastructure (double) encryption be enabled on an existing Azure Service Bus namespace, without recreating the namespace?

  1. namespace is using Microsoft managed keys
  2. Premium service bus namespace

Would like to implement this standard but not sure if it requires recreation/downtime to achieve.

Azure Service Bus
Azure Service Bus

An Azure service that provides cloud messaging as a service and hybrid integration.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Pravallika KV 12,820 Reputation points Microsoft External Staff Moderator
    2025-12-18T17:47:37.35+00:00

    Hi @Hailey Martinez ,

    Thanks for reaching out to Microsoft Q&A.

    Currently, to enable infrastructure encryption, your namespace must switch from using Microsoft-managed keys to customer-managed keys. You can enable this later by updating your Azure Resource Manager template with the requireInfrastructureEncryption property.

    Importantly, you don’t need to recreate the namespace to implement this change, so you should be able to do this without downtime.

    Here's a snippet of how to update it in your template:

    "properties": {
       "encryption": {
          "keySource": "Microsoft.KeyVault",
          "requireInfrastructureEncryption": true,
          "keyVaultProperties": [
             {
                "keyName": "[parameters('keyName')]",
                "keyVaultUri": "[parameters('keyVaultUri')]"
             }
          ]
       }
    }
    

    Steps to Enable Double Encryption:

    1. Confirm that you want to switch from Microsoft-managed keys to customer-managed keys.
    2. Update the configuration using the Azure Resource Manager template as shown above.
    3. Validate that the change is successfully applied.

    References:

    Hope it helps!


    Please do not forget to click "Accept the answer” and Yes, this can be beneficial to other community members.

    User's image

    If you have any other questions, let me know in the "comments" and I would be happy to help you.


  2. Q&A Assist
    2025-12-18T17:30:53.8433333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Yes, infrastructure (double) encryption can be enabled on an existing Azure Service Bus namespace that is using Microsoft-managed keys. This can be done without recreating the namespace. You can switch from Microsoft-managed keys to customer-managed keys and enable infrastructure encryption by updating the Azure Resource Manager template with the requireInfrastructureEncryption property. This means that there is no need for downtime or recreation of the namespace to implement this standard.


    References:

    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.