Hi,
I have scripted rule written in C#, which has the database connection string with password in plain text. could you please let me know how I can securely store the connection string password in scripted rule?
Request your support.
Cybersecurity
DevOps Cloud
IT Operations Cloud
If an answer to your question is correct, click on "Verify Answer" under the "More" button. The answer will now appear with a checkmark. Please be sure to always mark answers that resolve your issue as verified. Your fellow Community members will appreciate it! Learn more.
Hi,
I have scripted rule written in C#, which has the database connection string with password in plain text. could you please let me know how I can securely store the connection string password in scripted rule?
Request your support.
Hi, there is no built-in support for this. For the built-in passwords and other sensitive information in SV configuration files, we use a special password from the Windows Credential Manager
But you would have to write the code that would encrypt the value using this password. It will be complicated. Do you really need to store the password in plain text? Maybe try to use Win auth for your database if possible. Or just check the DB documentation on how you are supposed to handle it for the corresponding type of database.
Regards
Karel