title: How to set credentials on AWS SDK on NET Core?
body: <p>I'm new to AWS SDK and I'm trying to follow the AWS <a href="http://docs.aws.amazon.com/sdk-for-net/v3/developer-guide/net-dg-config-netcore.html" rel="noreferrer">documentation</a>, but gives little to none on what exactly I need to setup.</p>
  
  <p>The official docs tell me to add this to the appsettings.json:</p>
  
  <pre><code>{
    "AWS": {
      "Profile": "local-test-profile",
      "Region": "us-west-2"
    }
  }
  </code></pre>
  
  <p>And then create the client:</p>
  
  <pre><code>var options = Configuration.GetAWSOptions();
  IAmazonS3 client = options.CreateServiceClient&lt;IAmazonS3&gt;();
  </code></pre>
  
  <p>This causes an exception to be thrown saying it cannot find the credentials. Where do I put the Api ID and Key? What is this profile?</p>
  
  <p>Please, bear in mind I have no preferences on how to set this up. I'm just trying to follow the official documentation for .NET Core, and their only example doesn't work. The docs seem to imply I should have prior knowledge of many of their terms and settings or that I'm migrating an existing app and already have everything setup.</p>
  
  <p>Can someone please point me to what is missing from this example just to make the API correctly connect to AWS?</p>