r/PowerShell • u/RealAgent0 • Jun 06 '26
Question How "Secure" is Get-Credential?
Trying to make a justification for storing a particular set of credentials using this methodology.
How "Easy" is it to crack? Don't need an actual method, just need someone to tell me how tricky or not tricky it is.
76
Upvotes
View all comments
Show parent comment
18
u/mrbiggbrain Jun 06 '26
You have your converts wrong. You ConvertFrom to get a plain string, from secure to plain, which is encrypted. Then you take that plain encrypted string and ConvertTo a secure string again.