Skip to content

Commit 0f480f5

Browse files
committed
Fix Az.KeyVault Syntax Errors
1 parent 23a9b3a commit 0f480f5

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/KeyVault/KeyVault/help/Export-AzKeyVaultSecurityDomain.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Exports the security domain data of a managed HSM for importing on another HSM.
3333

3434
### Example 1
3535
```powershell
36-
Export-AzKeyVaultSecurityDomain -Name testmhsm -Certificates {{pathOfCertificates}/sd1.cer, {pathOfCertificates}/sd2.cer, {pathOfCertificates}/sd3.cer} -OutputPath {{pathOfOutput}/sd.ps.json} -Quorum 2
36+
Export-AzKeyVaultSecurityDomain -Name testmhsm -Certificates {./sd1, ./sd2,./sd3} -OutputPath sd.ps.json -Quorum 2
3737
```
3838

3939
This command retrieves the managed HSM named testmhsm and saves a backup of that managed HSM security domain to the specified output file.

src/KeyVault/KeyVault/help/Import-AzKeyVaultSecurityDomain.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ This cmdlet imports previously exported security domain data to a managed HSM.
3434
### Example 1
3535
```powershell
3636
$keys = @{PublicKey = "sd1.cer"; PrivateKey = "sd1.key"}, @{PublicKey = "sd2.cer"; PrivateKey = "sd2.key"}, @{PublicKey = "sd3.cer"; PrivateKey = "sd3.key"}
37-
Import-AzKeyVaultSecurityDomain -Name testmhsm -Keys $keys -SecurityDomainPath {{pathOfBackup}\sd.ps.json}
37+
Import-AzKeyVaultSecurityDomain -Name testmhsm -Keys $keys -SecurityDomainPath sd.ps.json
3838
```
3939

4040
First, the keys need be provided to decrypt the security domain data.

src/KeyVault/KeyVault/help/Update-AzKeyVaultSecret.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,8 @@ ContosoVault, using the stored variables.
6363

6464
### Example 2: Delete the tags and content type for a secret
6565
```powershell
66-
$Tags = @{ 'Severity' = 'medium'; 'HR' = 'true'}
6766
$ContentType= 'xml'
68-
Update-AzKeyVaultSecret -VaultName 'ContosoVault' -Name 'HR' -Version '9EEA45C6EE50490B9C3176A80AC1A0DF' -ContentType $ContentType -Tag $Tags
67+
Update-AzKeyVaultSecret -VaultName 'ContosoVault' -Name 'HR' -Version '9EEA45C6EE50490B9C3176A80AC1A0DF' -ContentType $ContentType -Tag @{}
6968
```
7069

7170
This command deletes the tags and the content type for the specified version of the secret named HR

0 commit comments

Comments
 (0)