r/PowerShell • • 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

36 comments sorted by

View all comments

Show parent comment

12

u/AKSoapy29 Aug 11 '26

"Any thoughts?" is common language... No reason to get mad at someone who is trying to learn.

-5

u/ranhalt Aug 11 '26

No, “any thoughts” is lazy and proves the person asking that has no thoughts of their own. It’s business speak for “solve this for me so I can take credit for it”.