PowerShell / SecretManagement

PowerShell module to consistent usage of secrets through different extension vaults
MIT License
317 stars 46 forks source link

Random unexpected secrets appear in vault #209

Open damoncoursey opened 1 year ago

damoncoursey commented 1 year ago

Prerequisites

Steps to reproduce

I am experiencing a problem with a bunch (~50) of random unexpected secrets appearing in my vault. I am using the SecretStore extension vault. All of the unexpected secrets have a name which takes the form of 8.3 characters, the corresponding secret values also take that form. These random secrets appeared after several days of use with no issue.

To reproduce I run

Get-SecretInfo

The following is an example of the output:

w3elg4bl.b0n
we2czp1o.j1r
yvb1rlqr.0oa 
zcvktvlt.kbz
zpxsp0bi.gae
zyvyhd0c.0gs

I'm running under the Local System context.

Expected behavior

For these random secrets not to be in the vault.

Actual behavior

Random secrets appear in the vault.

Error details

No response

Environment data

Name                           Value
----                           -----
PSVersion                      5.1.20348.1366
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.20348.1366
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Version

1.1.2

Visuals

No response

SydneyhSmith commented 4 months ago

Thanks, these secrets aren't being created by the module-- do you have your vault configured to be locked?