Skip to content

Commit e59b999

Browse files
Fix outlining
1 parent 5038ff3 commit e59b999

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

articles/event-hubs/configure-customer-managed-key.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -36,32 +36,32 @@ After you enable customer-managed keys, you need to associate the customer manag
3636
> [!IMPORTANT]
3737
> Using customer-managed keys with Azure Event Hubs requires that the key vault have two required properties configured. They are: **Soft Delete** and **Do Not Purge**. These properties are enabled by default when you create a new key vault in the Azure portal. However, if you need to enable these properties on an existing key vault, you must use either PowerShell or Azure CLI.
3838
39-
# [Key Vault](#tab/Key-Vault)
39+
# [Key Vault](#tab/Key-Vault)
4040

41-
2. To turn on both soft delete and purge protection when creating a vault, use the [az keyvault create](/cli/azure/keyvault#az-keyvault-create) command.
41+
2. To turn on both soft delete and purge protection when creating a vault, use the [az keyvault create](/cli/azure/keyvault#az-keyvault-create) command.
4242

43-
```azurecli-interactive
44-
az keyvault create --name ContosoVault --resource-group ContosoRG --location westus --enable-soft-delete true --enable-purge-protection true
45-
```
46-
3. To add purge protection to an existing vault (that already has soft delete enabled), use the [az keyvault update](/cli/azure/keyvault#az-keyvault-update) command.
43+
```azurecli-interactive
44+
az keyvault create --name ContosoVault --resource-group ContosoRG --location westus --enable-soft-delete true --enable-purge-protection true
45+
```
46+
3. To add purge protection to an existing vault (that already has soft delete enabled), use the [az keyvault update](/cli/azure/keyvault#az-keyvault-update) command.
4747

48-
```azurecli-interactive
49-
az keyvault update --name ContosoVault --resource-group ContosoRG --enable-purge-protection true
50-
```
48+
```azurecli-interactive
49+
az keyvault update --name ContosoVault --resource-group ContosoRG --enable-purge-protection true
50+
```
5151

52-
# [Key Vault Managed HSM](#tab/Key-Vault-Managed-HSM)
52+
# [Key Vault Managed HSM](#tab/Key-Vault-Managed-HSM)
5353

54-
2. To turn on both soft delete and purge protection when creating a vault, use the [az keyvault create](/cli/azure/keyvault#az-keyvault-create) command.
54+
2. To turn on both soft delete and purge protection when creating a vault, use the [az keyvault create](/cli/azure/keyvault#az-keyvault-create) command.
5555

56-
```azurecli-interactive
57-
az keyvault create --hsm-name ContosoVault --resource-group ContosoRG --location westus --enable-soft-delete true --enable-purge-protection true
58-
```
59-
3. To add purge protection to an existing vault (that already has soft delete enabled), use the [az keyvault update](/cli/azure/keyvault#az-keyvault-update) command.
56+
```azurecli-interactive
57+
az keyvault create --hsm-name ContosoVault --resource-group ContosoRG --location westus --enable-soft-delete true --enable-purge-protection true
58+
```
59+
3. To add purge protection to an existing vault (that already has soft delete enabled), use the [az keyvault update](/cli/azure/keyvault#az-keyvault-update) command.
6060

61-
```azurecli-interactive
62-
az keyvault update --hsm-name ContosoVault --resource-group ContosoRG --enable-purge-protection true
63-
```
64-
---
61+
```azurecli-interactive
62+
az keyvault update --hsm-name ContosoVault --resource-group ContosoRG --enable-purge-protection true
63+
```
64+
---
6565

6666
4. Create keys by following these steps:
6767
1. To create a new key, select **Generate/Import** from the **Keys** menu under **Settings**.

0 commit comments

Comments
 (0)