You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 22, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 22, 2026. It is now read-only.
VaultParameters of Type TimeSpan are Converted to HashTable #239
I've written an extension for PowerShell/SecretManagement that allows users to set an optional VaultParameter during registration called ResyncCacheIfOlderThan. This value is of data type TimeSpan. Recently it has come to my attention that when users supply a VaultParameters hashtable containing this property during vault registration, the TimeSpan is converted to a HashTable. Sadly said Hashtable has no implicit conversion back to TimeSpan, so any functions expecting the latter will fail.
Name Value
---------
PSVersion 7.4.7
PSEdition Core
GitCommitId 7.4.7
OS Microsoft Windows 10.0.26100
Platform Win32NT
PSCompatibleVersions {1.0,2.0,3.0,4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Activity