Skip to content

Commit 6576184

Browse files
Merge pull request #215343 from cynthn/patch-8
Update key-vault-setup.md - freshness
2 parents dec8608 + f80275b commit 6576184

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

articles/virtual-machines/linux/key-vault-setup.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ title: Set up Azure Key Vault using CLI
33
description: How to set up Key Vault for virtual machine using the Azure CLI.
44
author: mimckitt
55
ms.service: virtual-machines
6-
ms.workload: infrastructure-services
76
ms.topic: how-to
8-
ms.date: 02/24/2017
7+
ms.date: 10/20/2022
98
ms.author: mimckitt
109
ms.custom: devx-track-azurecli
1110

@@ -21,14 +20,14 @@ To perform these steps, you need the latest [Azure CLI](/cli/azure/install-az-cl
2120
## Create a Key Vault
2221
Create a key vault and assign the deployment policy with [az keyvault create](/cli/azure/keyvault). The following example creates a key vault named `myKeyVault` in the `myResourceGroup` resource group:
2322

24-
```azurecli
23+
```azurecli-interactive
2524
az keyvault create -l westus -n myKeyVault -g myResourceGroup --enabled-for-deployment true
2625
```
2726

2827
## Update a Key Vault for use with VMs
2928
Set the deployment policy on an existing key vault with [az keyvault update](/cli/azure/keyvault). The following updates the key vault named `myKeyVault` in the `myResourceGroup` resource group:
3029

31-
```azurecli
30+
```azurecli-interactive
3231
az keyvault update -n myKeyVault -g myResourceGroup --set properties.enabledForDeployment=true
3332
```
3433

0 commit comments

Comments
 (0)