Skip to content

Commit 249b718

Browse files

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ Tags :
282282

283283
This command gets the current versions of all secrets in the key vault named Contoso that start with "secret".
284284

285-
### Example 9: Get a secret in azure key vault by command Get-Secret in module Microsoft.PowerShell.SecretManagement
285+
### Example 9: Get a secret in Azure Key Vault by command Get-Secret in module Microsoft.PowerShell.SecretManagement
286286
```powershell
287287
# Install module Microsoft.PowerShell.SecretManagement
288288
Install-Module Microsoft.PowerShell.SecretManagement -Repository PSGallery -AllowPrerelease
@@ -298,7 +298,7 @@ Get-Secret -Vault AzKeyVault -Name secureSecret -AsPlainText
298298
Password
299299
```
300300

301-
This example Gets a secret named `secureSecret` in azure key vault named `test-kv` by command `Get-Secret` in module `Microsoft.PowerShell.SecretManagement`.
301+
This example Gets a secret named `secureSecret` in Azure Key Vault named `test-kv` by command `Get-Secret` in module `Microsoft.PowerShell.SecretManagement`.
302302

303303
## PARAMETERS
304304

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Tags :
7878
This command removes the secret named FinanceSecret from the key vault named Contoso.
7979
The command specifies the *Force* and *Confirm* parameters, and, therefore, the cmdlet does not prompt you for confirmation.
8080

81-
### Example 3: Remove a secret in azure key vault by command Remove-Secret in module Microsoft.PowerShell.SecretManagement
81+
### Example 3: Remove a secret in Azure Key Vault by command Remove-Secret in module Microsoft.PowerShell.SecretManagement
8282
```powershell
8383
# Install module Microsoft.PowerShell.SecretManagement
8484
Install-Module Microsoft.PowerShell.SecretManagement -Repository PSGallery -AllowPrerelease
@@ -94,7 +94,7 @@ Remove-Secret -Vault AzKeyVault -Name secureSecret
9494
None
9595
```
9696

97-
This example removes a secret named `secureSecret` in azure key vault `test-kv` by command `Remove-Secret` in module `Microsoft.PowerShell.SecretManagement`.
97+
This example removes a secret named `secureSecret` in Azure Key Vault `test-kv` by command `Remove-Secret` in module `Microsoft.PowerShell.SecretManagement`.
9898

9999

100100
### Example 4: Purge deleted secret from the key vault permanently

tools/StaticAnalysis/Exceptions/Az.KeyVault/ExampleIssues.csv

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@
22
"Az.KeyVault","Remove-AzKeyVaultSecret","3","4","Invalid_Cmdlet","5000","1","Register-SecretVault is not a valid command name.","Register-SecretVault -Name AzKeyVault -ModuleName Az.KeyVault -VaultParameters @{ AZKVaultName = 'test-kv'; SubscriptionId = 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' }","Check the spell of Register-SecretVault."
33
"Az.KeyVault","Remove-AzKeyVaultSecret","3","7","Invalid_Cmdlet","5000","1","Set-Secret is not a valid command name.","Set-Secret -Vault AzKeyVault -Name secureSecret -SecureStringSecret $secure","Check the spell of Set-Secret."
44
"Az.KeyVault","Remove-AzKeyVaultSecret","3","8","Invalid_Cmdlet","5000","1","Remove-Secret is not a valid command name.","Remove-Secret -Vault AzKeyVault -Name secureSecret","Check the spell of Remove-Secret."
5+
"Az.KeyVault","Get-AzKeyVaultSecret","9","4","Invalid_Cmdlet","5000","1","Register-SecretVault is not a valid command name.","Register-SecretVault -Name AzKeyVault -ModuleName Az.KeyVault -VaultParameters @{ AZKVaultName = 'test-kv'; SubscriptionId = 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' }","Check the spell of Register-SecretVault."
6+
"Az.KeyVault","Get-AzKeyVaultSecret","9","7","Invalid_Cmdlet","5000","1","Set-Secret is not a valid command name.","Set-Secret -Vault AzKeyVault -Name secureSecret -SecureStringSecret $secure","Check the spell of Set-Secret."
7+
"Az.KeyVault","Get-AzKeyVaultSecret","9","8","Invalid_Cmdlet","5000","1","Get-Secret is not a valid command name.","Get-Secret -Vault AzKeyVault -Name secureSecret -AsPlainText","Check the spell of Get-Secret."

0 commit comments

Comments
 (0)