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
1
u/sid351 Jun 06 '26
They have explained it.
Essentially, by default it uses the user account on that specific computer to do the encryption, so it can only be decrypted by that user on that machine.
Secure against others copying the password, but not against them manipulating a script that runs as you on your computer from exposing it to them the next time it runs.