PowerShell / SecretStore

MIT License
158 stars 24 forks source link

Metadata doesn't accept datetime #59

Closed jdhitsolutions closed 3 years ago

jdhitsolutions commented 3 years ago

The documentation and error messages indicate that a metadata key can be a datetime value. But both Set-Secret and Set-SecretInfo fail.

image

If I make the datetime a string, it works.

image

Or should we assume that all metadata values are strings?

PaulHigin commented 3 years ago

SecretStore code needs to be updated to handle DateTime wrapped in PSObject.

PaulHigin commented 3 years ago

Fixed in v1.0.2 release.