You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/event-hubs/configure-customer-managed-key.md
+19-19Lines changed: 19 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,32 +36,32 @@ After you enable customer-managed keys, you need to associate the customer manag
36
36
> [!IMPORTANT]
37
37
> 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.
38
38
39
-
# [Key Vault](#tab/Key-Vault)
39
+
# [Key Vault](#tab/Key-Vault)
40
40
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.
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.
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.
47
47
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
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.
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.
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.
60
60
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
+
---
65
65
66
66
4. Create keys by following these steps:
67
67
1. To create a new key, select **Generate/Import** from the **Keys** menu under **Settings**.
0 commit comments