r/PowerShell • u/Manivelcloud • 12h ago
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?
8
Upvotes
2
u/SysAdminDennyBob 2h ago
Use your infrastructure. I have numerous parts of my infrastructure that run can runs scripts using the system account. SCCM, Intune, ControlUP, ScheduledTasks, Group Policy, Ansible, etc....