Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

format the help markdown files of Az.KeyVault #18632

Merged
merged 1 commit into from
Jun 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/KeyVault/KeyVault/help/Get-AzKeyVaultManagedHsm.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ This command gets all managed HSMs in the subscription that start with "myhsm".

### Example 5: List deleted managed HSMs
```powershell
PS C:\> Get-AzKeyVaultManagedHsm -InRemovedState
Get-AzKeyVaultManagedHsm -InRemovedState
```
```output
Name Location DeletionDate ScheduledPurgeDate Purge Protection Enabled?
Expand Down
4 changes: 2 additions & 2 deletions src/KeyVault/KeyVault/help/Invoke-AzKeyVaultKeyOperation.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Invoke-AzKeyVaultKeyOperation cmdlet supports

### Encrypts using an encryption key
```powershell
$result = Invoke-AzKeyVaultKeyOperation -Operation Encrypt -Algorithm RSA1_5 -VaultName test-kv -Name test-key -Value (ConvertTo-SecureString -String "test" -AsPlainText -Force) ult
$result = Invoke-AzKeyVaultKeyOperation -Operation Encrypt -Algorithm RSA1_5 -VaultName test-kv -Name test-key -Value (ConvertTo-SecureString -String "test" -AsPlainText -Force)
$result | Format-List
```

Expand All @@ -59,7 +59,7 @@ Encrypts string "test" using test-key stored in test-kv. The returned result is
### Decrypt encrypted data
```powershell
$result
$result = Invoke-AzKeyVaultKeyOperation -Operation Decrypt -Algorithm RSA1_5 -VaultName test-kv -Name test-key -Value (ConvertTo-SecureString -String $result.Result -AsPlainText -Force) ult
$result = Invoke-AzKeyVaultKeyOperation -Operation Decrypt -Algorithm RSA1_5 -VaultName test-kv -Name test-key -Value (ConvertTo-SecureString -String $result.Result -AsPlainText -Force)
$result | Format-List
```

Expand Down
2 changes: 1 addition & 1 deletion src/KeyVault/KeyVault/help/Remove-AzKeyVaultManagedHsm.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ If you do not specify the resource group name, the cmdlet searches for the named

### Example 3: Purge a deleted managed hsm
```powershell
PS C:\> Remove-AzKeyVaultManagedHsm -Name 'myhsm' -Location "eastus" -Force -PassThru
Remove-AzKeyVaultManagedHsm -Name 'myhsm' -Location "eastus" -Force -PassThru
```

```output
Expand Down
2 changes: 1 addition & 1 deletion src/KeyVault/KeyVault/help/Update-AzKeyVaultManagedHsm.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Updates tags for the managed Hsm using piping syntax.

### Example 3: Enable purge protection for a managed Hsm
```powershell
PS C:\> Update-AzKeyVaultManagedHsm -Name $hsmName -ResourceGroupName $resourceGroupName -EnablePurgeProtection | fl
Update-AzKeyVaultManagedHsm -Name $hsmName -ResourceGroupName $resourceGroupName -EnablePurgeProtection | Format-List
```

```output
Expand Down