Modules icon indicating copy to clipboard operation
Modules copied to clipboard

[SecretManagement] Get-secretvault -ListAvailable

Open itfranck opened this issue 4 years ago • 0 comments

Get-secretvault -ListAvailable - List all secret providers available on the system

It could be nice to get a list of the secret providers available for registration on your system. I suggest adding a -ListAvailable parameter to the existing Get-SecretVault

Maybe this would tie in well together with

https://github.com/PowerShell/Modules/issues/89 https://github.com/PowerShell/Modules/issues/90

Get-SecretVault could return vault parameters used and / or a list of the available settings (hashtable of settings with empty values) when used in with -ListAvailable

That way, having a Get-SecretVaultRegistrationSettings cmdlet would be rendered redundant.

(Providers, such as Az.keyvault would have to pass their settings list so it can be retrieved when calling the cmdlet with the -ListAvailable switch.

itfranck avatar Jun 16 '20 11:06 itfranck