Skip to content

Commit 9640077

Browse files
Add files via upload
Move resource group article
1 parent 0f22c82 commit 9640077

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
title: Azure Key Vault moving a vault to a different resource group | Microsoft Docs
3+
description: Guidance on moving a key vault to a different resource group.
4+
services: key-vault
5+
author: ShaneBala-key vault
6+
manager: ravijan
7+
tags: azure-resource-manager
8+
9+
ms.service: key-vault
10+
ms.subservice: general
11+
ms.topic: conceptual
12+
ms.date: 04/29/2020
13+
ms.author: sudbalas
14+
Customer intent: As a key vault administrator, I want to move my vault to another resource group.
15+
---
16+
17+
# Moving an Azure Key Vault across resource groups
18+
19+
## Overview
20+
21+
Moving a key vault across resource groups is a supported key vault feature. Moving a key vault between resource groups will not affect key vault firewall or access policy configurations. Connected applications and service principals should continue to work as intended.
22+
23+
## Design Considerations
24+
25+
Your organization may have implemented Azure Policy with enforcement or exclusions at the resource group level. There may be a different set of policy assignments in the resource group where your key vault currently exists and the resource group where you are moving your key vault. This has the potential to break your applications.
26+
27+
### Example
28+
29+
You have an application connected to key vault that creates certificates that are valid for 2 years. The resource group where you are attempting to move your key vault has a policy assignment that blocks the creation of certificates that are valid for longer than 1 year. After moving your key vault to the new resource group the operation to create a certificate that is valid for 2 years will be blocked by an Azure policy assignment.
30+
31+
### Solution
32+
33+
Make sure that you go to the Azure Policy page on the Azure portal and look at the policy assignments for your current resource group as well as the resource group you are moving to and ensure that there are no mismatches.
34+
35+
## Procedure
36+
37+
1. Log in to the Azure Portal
38+
2. Navigate to your key vault
39+
3. Click on the "Overview" tab
40+
4. Select the "Move" button
41+
5. Select "Move to another resource group" from the dropdown options
42+
6. Select the resource group where you want to move your key vault
43+
7. Acknowledge the warning regarding moving resources
44+
8. Select "OK"
45+
46+
Key Vault will now evaluate the validity of the resource move, and alert you if there are any errors. If there are no errors, the resource move will be completed.

0 commit comments

Comments
 (0)