Modules icon indicating copy to clipboard operation
Modules copied to clipboard

[SecretManagement] Name inconsistencies

Open itfranck opened this issue 4 years ago • 0 comments

Cmdlets referring to the same thing have different parameter names

For instance,

Using Vault Get-Secret, Get-SecretInfo, Set-Secret, Test-SecretVault, Remove-Secret

Using Name Unregister-SecretVault, Test-SecretVault, Get-SecretVault

Both Vault and Name reference vaults names. Name also reference secret names on other cmdlet.

Proposed technical implementation details (optional)

In my opinion, Az.Keyvault have it right. All their cmdlet use:

VaultName : Reference to vault name Name : Reference to secret name

For consistency sake, I would think that SecretManagement would benefit from this simple change before leaving prerelease.

itfranck avatar Jul 11 '20 06:07 itfranck