Modules icon indicating copy to clipboard operation
Modules copied to clipboard

Set-Secret in TestLocalScript Example should overwrite

Open jeremymcgee73 opened this issue 4 years ago • 2 comments

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!

jeremymcgee73 avatar Mar 24 '20 16:03 jeremymcgee73

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!

JustinGrote avatar Mar 24 '20 21:03 JustinGrote

@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)

SydneyhSmith avatar Mar 26 '20 15:03 SydneyhSmith