title: How to set multiple aws credentials in nodejs aws-sdk module?
body: <p>I need to use multiple AWS credentials for different services like s3, SNS....  </p>
  
  <pre><code>var awsS3 = require('aws-sdk');
  var awsSes = require('aws-sdk');
  
  awsS3.config.update({
      region: config.awsRegion,
      accessKeyId: config.sesAccessKeyId,
      secretAccessKey: config.sesSecretAccessKey
  });
  
  awsSes.config.update({
      region: config.s3Region,
      accessKeyId: config.s3AccessKeyId,
      secretAccessKey: config.s3SecretAccessKey
    });
  </code></pre>
  
  <p>But above code is not working.</p>
  
  <p>How to configure multiple accessKeyIds, secretAccessKeys for different services?</p>