title: How to hide sql connection strings in aws lambda?
body: <p>The following is how I'm connecting.  Is there any way in Lambda to set environmental variables that aren't visible and ideally would cross to several lambdas?   Ideally in another AWS service that I could access with the SDK and use across all AWS services?</p>
  
  <pre><code>var MYSQL      = require('mysql');
  var AWS = require('aws-sdk');
  
  exports.handler = (event, context, callback) =&gt; {
      var connection = MYSQL.createConnection({
          host     : '127.0.0.1',
          port     : '3306',
          user     : 'myuser',
          password : 'mypass',
          database : 'mydb'
  });
  connection.connect();
  </code></pre>