Open LaurentDardenne opened 3 years ago
This behavior is by design. The vault registry information is cached in memory and only updated when file contents change. But I agree the missing directory behavior should be better. I am thinking SecretManagement should try to re-create the directory/registry file, which it does anyway after PowerShell is restarted.
Expected use : Get-SecretVault return nothing.
Now I delete the 'secretmanagement' directory
Repro:
When a close the current session and open a new session, Get-SecretVault return nothing.
It's not really a bug but a special case I think.