$PSSecretKey=Read-host -Prompt "Enter Secret-Key" -AsSecureString
I am storing $PSEncryptedkey in registry and i am trying to retrieve it as a plaintext , but its not happening
So... I guess, if you're planning to store it in clear text in the registry, why are you bothering with SecureString at all?
You must be logged in to reply to this topic.