Skip to content

Commit 3d12908

Browse files
RakeshMohanMSFTmsJinLeimsJinLeiisra-feldingmeng-xue
authored
{KeyVault} Fix #20468: Fix a minor typo (#20469)
* {KeyVault} Fix #20468: Fix a minor typo Fixes #20468 * Suppress example analysis error for the example is from non-Azure PowerShell modules * ExampleIssues.csv in wrong format * Suppress example analysis error for the reported cmdlets are not from Azure PowerShell modules * Update ExampleIssues.csv * tab->space; example 3->4 * Update ExampleIssues.csv Fix e module name format for example analysis suppress escape * Update ExampleIssues.csv Co-authored-by: msJinLei <[email protected]> Co-authored-by: Jin Lei <[email protected]> Co-authored-by: Yeming Liu <[email protected]> Co-authored-by: Dingmeng Xue <[email protected]>
1 parent b1d1650 commit 3d12908

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Register-SecretVault -Name AzKeyVault -ModuleName Az.KeyVault -VaultParameters @
8787
# Set secret for vault AzKeyVault
8888
$secure = ConvertTo-SecureString -String "Password" -AsPlainText -Force
8989
Set-Secret -Vault AzKeyVault -Name secureSecret -SecureStringSecret $secure
90-
Remove-Secret -Vault AzKeyVault -Name secureSecret
90+
Remove-Secret -Vault AzKeyVault -Name secureSecret
9191
```
9292

9393
```output
@@ -97,12 +97,12 @@ None
9797
This example removes a secret named `secureSecret` in azure key vault `test-kv` by command `Remove-Secret` in module `Microsoft.PowerShell.SecretManagement`.
9898

9999

100-
### Example 3: Purge deleted secret from the key vault permanently
100+
### Example 4: Purge deleted secret from the key vault permanently
101101
```powershell
102102
Remove-AzKeyVaultSecret -VaultName 'Contoso' -Name 'FinanceSecret' -InRemovedState
103103
```
104104

105-
This command premoves the secret named FinanceSecret from the key vault named Contoso permanently.
105+
This command removes the secret named FinanceSecret from the key vault named Contoso permanently.
106106
Executing this cmdlet requires the 'purge' permission, which must have been previously and explicitly granted to the user for this key vault.
107107

108108
## PARAMETERS
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
"Module","Cmdlet","Example","Line","RuleName","ProblemId","Severity","Description","Extent","Remediation"
2+
"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."
3+
"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."
4+
"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."

0 commit comments

Comments
 (0)