I have a data structure that's been imported from a saved JSON file. One of the elements written out is actually a secure string, not a standard string. When read back in with ConvertFrom-Json it shows as a standard string. I can't use it to build a credential as a result.
How do I tell powershell that this data is actually a securestring, without trying to encode it?