Skip to content

Commit 96cec15

Browse files
authored
Update quick-powershell with correct regions
1 parent 8b223ac commit 96cec15

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/key-vault/managed-hsm/quick-create-powershell.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Create and retrieve attributes of a managed key in Azure Key Vault – Az
33
description: Quickstart showing how to set and retrieve a managed key from Azure Key Vault using Azure PowerShell
44
author: msmbaldwin
55
ms.author: mbaldwin
6-
ms.date: 03/21/2023
6+
ms.date: 03/24/2023
77
ms.topic: quickstart
88
ms.service: key-vault
99
ms.subservice: keys
@@ -29,10 +29,10 @@ Login-AzAccount
2929

3030
## Create a resource group
3131

32-
A resource group is a logical container into which Azure resources are deployed and managed. Use the Azure PowerShell [New-AzResourceGroup](/powershell/module/az.resources/new-azresourcegroup) cmdlet to create a resource group named *myResourceGroup* in the *eastus* location.
32+
A resource group is a logical container into which Azure resources are deployed and managed. Use the Azure PowerShell [New-AzResourceGroup](/powershell/module/az.resources/new-azresourcegroup) cmdlet to create a resource group named *myResourceGroup* in the *eastus2* location.
3333

3434
```azurepowershell-interactive
35-
New-AzResourceGroup -Name "myResourceGroup" -Location "eastus"
35+
New-AzResourceGroup -Name "myResourceGroup" -Location "eastus2"
3636
```
3737

3838
## Get your principal ID
@@ -65,7 +65,7 @@ Use the Azure PowerShell [New-AzKeyVaultManagedHsm](/powershell/module/az.keyvau
6565
- Your principal ID: Pass the Azure Active Directory principal ID that you obtained in the last section to the "Administrator" parameter.
6666

6767
```azurepowershell-interactive
68-
New-AzKeyVaultManagedHsm -Name "<your-unique-managed-hsm-name>" -ResourceGroupName "myResourceGroup" -Location "eastus" -Administrator "<your-principal-ID>"
68+
New-AzKeyVaultManagedHsm -Name "<your-unique-managed-hsm-name>" -ResourceGroupName "myResourceGroup" -Location "eastus2" -Administrator "<your-principal-ID>"
6969
```
7070
> [!NOTE]
7171
> The create command can take a few minutes. Once it returns successfully you are ready to activate your HSM.

0 commit comments

Comments
 (0)