title: Unable to load AWS Credentials
body: <p>I am following the next example to connects to Amazon Kinesis Data Streams and outputs the joined results to Amazon S3 in parquet format: <a href="https://docs.aws.amazon.com/glue/latest/dg/glue-etl-scala-example.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/glue/latest/dg/glue-etl-scala-example.html</a></p>
  
  <p>When I configure the connection to AWS and trying to run it, it throws the next error that can't find the credentials and I have assigned in "C:\Users\user.aws\credentials" also I have added environment variables :</p>
  
  <pre><code>AWS_ACCESS_KEY_ID=XXX
  AWS_SECRET_ACCESS_KEY=XxXX
  </code></pre>
  
  <p>But still failing with:</p>
  
  <pre><code> ERROR AWSInstanceProfileCredentialsProviderWithRetries: Got an exception while fetching credentials org.apache.s
  park.sql.kinesis.shaded.amazonaws.SdkClientException: Unable to load credentials from service endpoint
  </code></pre>