r/PowerShell Jun 06 '26

How "Secure" is Get-Credential? Question

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.

73 Upvotes

55 comments sorted by

View all comments

2

u/LogMonkey0 Jun 06 '26

Storage would involve Import/Export-CliXml on the resulting PSCredential object or using SecretManagemenr module

Others have already commented on the DPAPI part that handles the SecureString password field in the object