r/PowerShell • u/Manivelcloud • Aug 11 '26
Question Question on scripting
Hi,
When we develop a script,we use credentials as a plain text in that script.
Example
Script is running on jump server and script runs against vcenter server.
We have a security concerns(example ransomware attack)to put the credentials as a plain text in that script.
Any other good ways to put the credentials in a encrypted or in a different format?
35
Upvotes
View all comments
Show parent comment
13
u/overlydelicioustea Aug 11 '26
specific to the account AND machine. its a combination of both. you cant import the creds on a different machine.
it might work on systems with roaming profiles, im not sure.