title: React JS : Upload CSV file To Amazon S3 using AWS credentials
body: <p>I want to upload CSV file using react S3 Uploader. I have AWS credentials as well. But I don't know how to use it in React JS.</p>
  
  <p>Below is the code I have used.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>import React, { PureComponent } from "react";
  import ReactS3Uploader from "react-s3-uploader";
  
  
   saveUploaderReference = uploader =&gt; {
      if (uploader) {
        this.uploaderReference = uploader;
      }
    };
    
    
    getSignedUrl = (file) =&gt; {
       console.log("File : " , file)
    };
  
    
  
  
  &lt;ReactS3Uploader
              ref={this.saveUploaderReference}
              getSignedUrl={this.getSignedUrl}
              s3path="temp/"
              uploadRequestHeaders={{}}
              contentDisposition="auto"
              scrubFilename={filename =&gt; this.filename}
              autoUpload={true}
              multiple={false}
            /&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I don't know where to use AWS credentials.</p>
  
  <p>I have accessKeyID &amp; secretAccessID. I don't know where to use it.</p>
  
  <p>Any help would be great.</p>
  
  <p>Thank You.</p>