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
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
Version
N/A
Visuals
No response
The text was updated successfully, but these errors were encountered:
Prerequisites
Steps to reproduce
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 typeTimeSpan
. 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.Expected behavior
Actual behavior
Error details
Environment data
Version
N/A
Visuals
No response
The text was updated successfully, but these errors were encountered: