title: How to secure mysql connection with powershell
body: <p>I have a powershell function which connects to a mysql database. In this function there is a connection string which looks like this:</p>
  
  <pre><code>$ConnStr = "Server=server;Uid=user;Pwd=password;Database=DB";
  </code></pre>
  
  <p>Now whats the best way to store these information secure and not just have the string in plain text in the script?</p>