Open MaximoTrinidad opened 3 years ago
Microsoft.PowerShell.SecretStore vault entered password remains in effect for a period of time, similar to the sudo
command. The amount of time the password remains in effect can be configured, but by default the timeout is 15 minutes. You can see the default SecretStore configuration by running the Get-SecretStoreConfiguration
command.
You can also configure SecretStore to operate without a password, but this is not recommended since it is less secure and secrets become vulnerable to other admin accounts on the machine.
For more information please see the SecretStore readme file. https://github.com/PowerShell/SecretStore/blob/master/README.md
I'm wondering if this is by design or a bug. I kind of like to have the ability to get the secrets without the password to the vault but if it's a requirement then why not provide a parameter for the vault password via a prompt.
I use the following oneliners to repo the issue I'm experiencing:
In PowerShell 7..1.1:
In WSL2 PowerShell 7.1.1:
Modules version;