PowerShell / Modules

MIT License
111 stars 25 forks source link

Set-Secret in TestLocalScript Example should overwrite #68

Open jeremymcgee73 opened 4 years ago

jeremymcgee73 commented 4 years ago

Set-Secret in the example PowerShell.Secretmanagement module should replace the clixml file. Currently, the cmdlet throws an error. Set cmdlet's in PowerShell should Create and Update. I followed the example in my module, and currently have no way of updating a secret.

Thanks!

JustinGrote commented 4 years ago

Dupe of https://github.com/PowerShell/Modules/issues/50 which was rolled into https://github.com/PowerShell/Modules/issues/42

Glad you feel the same was as some of the rest of us!

SydneyhSmith commented 4 years ago

@jeremymcgee73 thanks for opening this issue, and thanks @JustinGrote for contextualizing this. Set-Secret should be able to update/override a secret with the given implementation, the example just needs to be updated to reflect this (it was trivially implemented)