Closed Kaiyiccc closed 1 year ago
Thanks @Kaiyiccc to set the SecretStore to have no password use the Set-SecretStoreConfiguration
cmdlet with the -Authentication None
parameter https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.secretstore/set-secretstoreconfiguration?view=ps-modules#parameters
I'm trying to set a new password for SecretStore using parameter arguments rather than interactively.
Based on what's written in the documentation, something like this should work when no password have been previously set:
Set-SecretStorePassword -NewPassword $newPassword
However I'm getting this error and cannot leave the
-Password
argument blank, no matter my input type:Relevant documentation below:
with
Any idea how to fix this? Thank you!