PowerShell / Modules

MIT License
111 stars 25 forks source link

[SecretManagement] Name inconsistencies #96

Open itfranck opened 4 years ago

itfranck commented 4 years ago

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.