Open buchs opened 4 years ago
Since PSCredential objects are often used in PowerShell, I was surprised there wasn't already some way to do this. Seems natural.
Hi @buchs thanks for your recommendation. We will consider it.
This would be really useful, and reduce the amount of secrets stored.
Supporting PSCredentials as is in Keyvault would be confusing for other customers of KV. We are considering a method in the KeyVault module that will convert PSCredentials to / from KV Secrets. Please react to let us know what you think of it.
I don’t understand why adding another credential type would be confusing to current users. They wouldn’t need to care or even notice the change. But I guess an additional module is a solution. Of key importance would be the word ”slick” in the title of this issue. Make it trivially easy to use.
Sorry if I was not clear, we evaluated if native support of PSCredentials was an option instead of relying on secrets.
Description of the new feature
Need an easy way to store and retrieve a PSCredential object. For example:
and
The Existing Mechanism
Here is the clunky way I have come up with to do it:
and