Skip to content

Commit 164ab47

Browse files
authored
Merge pull request #193966 from dhruv-iyer/dhruviyer-patch-8
Update managed hsm example region
2 parents b19c55a + f5cf4d2 commit 164ab47

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

articles/key-vault/managed-hsm/disaster-recovery-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ You must provide the following inputs to create a Managed HSM resource:
4444
- The Azure location.
4545
- A list of initial administrators.
4646

47-
The following example creates an HSM named **ContosoMHSM**, in the resource group **ContosoResourceGroup**, residing in the **West US 2** location, with **the current signed in user** as the only administrator.
47+
The following example creates an HSM named **ContosoMHSM**, in the resource group **ContosoResourceGroup**, residing in the **West US 3** location, with **the current signed in user** as the only administrator.
4848

4949
```azurecli-interactive
5050
oid=$(az ad signed-in-user show --query objectId -o tsv)
51-
az keyvault create --hsm-name "ContosoMHSM2" --resource-group "ContosoResourceGroup" --location "westus2" --administrators $oid
51+
az keyvault create --hsm-name "ContosoMHSM2" --resource-group "ContosoResourceGroup" --location "westus3" --administrators $oid
5252
```
5353

5454
> [!NOTE]

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ az login
3737

3838
## Create a resource group
3939

40-
A resource group is a logical container into which Azure resources are deployed and managed. The following example creates a resource group named *ContosoResourceGroup* in the *westus2* location.
40+
A resource group is a logical container into which Azure resources are deployed and managed. The following example creates a resource group named *ContosoResourceGroup* in the *westus3* location.
4141

4242
```azurecli-interactive
43-
az group create --name "ContosoResourceGroup" --location westus2
43+
az group create --name "ContosoResourceGroup" --location westus3
4444
```
4545

4646
## Create a Managed HSM
@@ -58,11 +58,11 @@ You need to provide following inputs to create a Managed HSM resource:
5858
- Azure location.
5959
- A list of initial administrators.
6060

61-
The following example creates an HSM named **ContosoMHSM**, in the resource group **ContosoResourceGroup**, residing in the **West US 2** location, with **the current signed in user** as the only administrator, with **7 days retention period** for soft-delete. Read more about [Managed HSM soft-delete](soft-delete-overview.md)
61+
The following example creates an HSM named **ContosoMHSM**, in the resource group **ContosoResourceGroup**, residing in the **West US 3** location, with **the current signed in user** as the only administrator, with **7 days retention period** for soft-delete. Read more about [Managed HSM soft-delete](soft-delete-overview.md)
6262

6363
```azurecli-interactive
6464
oid=$(az ad signed-in-user show --query objectId -o tsv)
65-
az keyvault create --hsm-name "ContosoMHSM" --resource-group "ContosoResourceGroup" --location "westus2" --administrators $oid --retention-days 7
65+
az keyvault create --hsm-name "ContosoMHSM" --resource-group "ContosoResourceGroup" --location "westus3" --administrators $oid --retention-days 7
6666
```
6767

6868
> [!NOTE]

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ Login-AzAccount
2727

2828
## Create a resource group
2929

30-
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 *westus2* location.
30+
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 *westus3* location.
3131

3232
```azurepowershell-interactive
33-
New-AzResourceGroup -Name "myResourceGroup" -Location "westus2"
33+
New-AzResourceGroup -Name "myResourceGroup" -Location "westus3"
3434
```
3535

3636
## Get your principal ID
@@ -59,11 +59,11 @@ Use the Azure PowerShell [New-AzKeyVaultManagedHsm](/powershell/module/az.keyvau
5959
> Each Managed HSM must have a unique name. Replace \<your-unique-managed-hsm-name\> with the name of your Managed HSM in the following examples.
6060
6161
- Resource group name: **myResourceGroup**.
62-
- The location: **West US 2**.
62+
- The location: **West US 3**.
6363
- Your principal ID: Pass the Azure Active Directory principal ID that you obtained in the last section to the "Administrator" parameter.
6464

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ You may also need your tenant ID. To find it, use the Azure CLI [az ad user show
7373

7474
- **Subscription**: Select an Azure subscription.
7575
- **Resource group**: Select **Create new**, enter a unique name for the resource group, and then select **OK**.
76-
- **Location**: Select a location. For example, **West US 2**.
76+
- **Location**: Select a location. For example, **West US 3**.
7777
- **managedHSMName**: Enter a name for your Managed HSM.
7878
- **Tenant ID**: The template function automatically retrieves your tenant ID; don't change the default value. If there is no value, enter the Tenant ID that you retrieved in [Prerequisites](#prerequisites).
7979
* **initialAdminObjectIds**: Enter the Object ID that you retrieved in [Prerequisites](#prerequisites).

0 commit comments

Comments
 (0)