Skip to content

Commit 3eda1f3

Browse files
authored
Merge pull request #123491 from TanishaMSFT/patch-3
Update backup-azure-restore-key-secret.md
2 parents c43db30 + 2ef733d commit 3eda1f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/backup/backup-azure-restore-key-secret.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Once the JSON file is generated in the destination path mentioned above, generat
5252
```powershell
5353
$keyDestination = 'C:\keyDetails.blob'
5454
[io.file]::WriteAllBytes($keyDestination, [System.Convert]::FromBase64String($encryptionObject.OsDiskKeyAndSecretDetails.KeyBackupData))
55-
Restore-AzureKeyVaultKey -VaultName '<target_key_vault_name>' -InputFile $keyDestination
55+
Restore-AzKeyVaultKey -VaultName '<target_key_vault_name>' -InputFile $keyDestination
5656
```
5757

5858
## Restore secret

0 commit comments

Comments
 (0)