I have a script that sends a report daily from multiple machines via gmail. The script needs to input the username and password when emailing the report. I do not want to store the credentials in plain text and have found a way of storing them as a secure string, not perfect but at least it is not in plain text.
From reading it looks like I cannot deploy a single config file on multiple machine, different Worgroups/Domains etc. because the encryption uses local security keys and is tied to the userid that created the secure string.
I am looking for a simple process to create a config file that can be reused across multiple environments and keep the UserID and password encrypted.
I know this is not completely secure but am willing to deal with possible fallout.