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
### Prerequisites if the storage account is behind a private endpoint (preview):
37
+
38
+
1. Ensure you have the latest CLI version installed.
39
+
2. Create a user assigned managed identity.
40
+
3. Create a storage account (or use an existing storage account).
41
+
4. Enable Trusted service bypass on the storage account in the “Networking” tab, under “Exceptions.”
42
+
43
+
6. Provide ‘storage blob data contributor’ role access to the user assigned managed identity created in step#2. Do this by going to the “Access Control” tab on the portal -> Add Role Assignment. Then select “managed identity” and select the managed identity created in step#2 -> Review + Assign
44
+
7. Create the Managed HSM and associate the managed identity with below command.
8. If you have an existing Managed HSM, associate the managed identity by updating the MHSM with the below command.
49
+
```azurecli-interactive
50
+
az keyvault update-hsm --hsm-name mhsmdemo2 –g mhsmrgname --mi-user-assigned "/subscriptions/subid/resourcegroups/mhsmrgname/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userassignedidentitynamefromstep2"
51
+
```
52
+
36
53
## Full backup
37
54
38
55
Backup is a long running operation but will immediately return a Job ID. You can check the status of backup process using this Job ID. The backup process creates a folder inside the designated container with a following naming pattern **`mhsm-{HSM_NAME}-{YYYY}{MM}{DD}{HH}{mm}{SS}`**, where HSM_NAME is the name of managed HSM being backed up and YYYY, MM, DD, HH, MM, mm, SS are the year, month, date, hour, minutes, and seconds of date/time in UTC when the backup command was received.
39
56
40
57
While the backup is in progress, the HSM might not operate at full throughput as some HSM partitions will be busy performing the backup operation.
41
58
42
-
> [!IMPORTANT]
43
-
> Public internet access must **not** be blocked from the storage accounts being used to backup or restore resources.
44
-
59
+
### Backup HSM when storage account is behind a private endpoint (preview)
@@ -78,13 +98,19 @@ You must provide the following information to execute a full restore:
78
98
- HSM name or URL
79
99
- Storage account name
80
100
- Storage account blob container
81
-
- Storage container SAS token with permissions `rl`
101
+
- Storage container SAS token with permissions `rl` (if storage account is not behind a private endpoint)
82
102
- Storage container folder name where the source backup is stored
83
103
84
104
Restore is a long running operation but will immediately return a Job ID. You can check the status of the restore process using this Job ID. When the restore process is in progress, the HSM enters a restore mode and all data plane command (except check restore status) are disabled.
85
105
106
+
### Restore HSM when storage account is behind a private endpoint (preview)
0 commit comments