PowerShell / SecretStore

MIT License
155 stars 23 forks source link

Request - Lock-SecretStore cmdlet #82

Open SalutAToi opened 3 years ago

SalutAToi commented 3 years ago

Hi !

I'm using SecretManagement and SecretStore to store secrets for an application within our systems. I think it would be very beneficial if there was a way to lock a secretstore rather than waiting for the timeout, for obvious security reasons. Of course, one could set a short timeout, but delays in the script/application could then get in the way of retrieving a secret.

PaulHigin commented 3 years ago

We can certainly consider this as an enhancement. But note, that the password applies only to the current PowerShell session. So you can lock access to the store for that session by simply closing the session.