How hide passwords in Windows and Unix Script monitors
Hi,
For the Windows Script Monitors (in VBscript), you can use the impersonationLevel feature so that it will read the APM credentials you set. the APM password are encrypted in the database, the username is not.
e.g. for a WMI connection:
Set oSvc = GetObject("winmgmts:" & "{impersonationLevel=impersonate,(Security)}!\\" & strComputer & "\root\cimv2")
For the Linux/Unix Script monitors, same story you can use the APM Credentials that will connect and run the script on the target machine.
If you need to pass credentials into the linux/unix script itself, you might want to store remotely the credentials in a file with restricted read rights so that they will not appear in the script.
Let me know if that helps or if you are trying to achieve it differently.
Thanks
Yann