title: How can I check if the AWS SDK was provided with credentials?
body: <p>There are <a href="http://docs.aws.amazon.com/AWSJavaScriptSDK/guide/node-configuring.html" rel="nofollow">many ways</a> to provide the AWS SDK with credentials to perform operations.</p>
  
  <p>I want to make sure <em>any</em> of the methods were successful in setting up the interface before I try my operation on our continuous deployment system.</p>
  
  <p>How can I check if AWS SDK was able to find credentials?</p>