access denied S3 from node.js

I have a key and a secret Access key given to me I would like to get the buck

console.log("Loading up the best code ever!!!");

// Load the SDK for JavaScript
var AWS = require('aws-sdk');
// Set the region 
AWS.config.update({ region: 'us-west-2' });

console.log("after update");

var credentials = new AWS.SharedIniFileCredentials();
AWS.config.credentials = credentials;
console.log(credentials);

// Create S3 service object
s3 = new AWS.S3({ apiVersion: '2006-03-01' });
console.log("after S3");

// Call S3 to list current buckets
s3.listBuckets(function (err, data) {
    if (err) {
        console.log("Error", err);
    } else {
        console.log("Bucket List", data.Buckets);
    }
});

I am new to Node.js and AWS S3, I followed this tutorial https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/loading-node-credentials-shared.html

and created a .aws folder and the credentials file with the given key and access...

Loading up the best code ever!!!
after update
SharedIniFileCredentials {
  expired: false,
  expireTime: null,
  accessKeyId: 'my_key_get_your_own',
  sessionToken: undefined,
  filename: undefined,
  profile: 'default',
  disableAssumeRole: false }
after S3
Error { AccessDenied: Access Denied
    at Request.extractError (C:\Users\gdarmon\Desktop\Node\node_modules\aws-sdk\lib\services\s3.js:577:35)
    at Request.callListeners (C:\Users\gdarmon\Desktop\Node\node_modules\aws-sdk\lib\sequential_executor.js:105:20)
    at Request.emit (C:\Users\gdarmon\Desktop\Node\node_modules\aws-sdk\lib\sequential_executor.js:77:10)
    at Request.emit (C:\Users\gdarmon\Desktop\Node\node_modules\aws-sdk\lib\request.js:683:14)
    at Request.transition (C:\Users\gdarmon\Desktop\Node\node_modules\aws-sdk\lib\request.js:22:10)
    at AcceptorStateMachine.runTo (C:\Users\gdarmon\Desktop\Node\node_modules\aws-sdk\lib\state_machine.js:14:12)
    at C:\Users\gdarmon\Desktop\Node\node_modules\aws-sdk\lib\state_machine.js:26:10
    at Request.<anonymous> (C:\Users\gdarmon\Desktop\Node\node_modules\aws-sdk\lib\request.js:38:9)
    at Request.<anonymous> (C:\Users\gdarmon\Desktop\Node\node_modules\aws-sdk\lib\request.js:685:12)
    at Request.callListeners (C:\Users\gdarmon\Desktop\Node\node_modules\aws-sdk\lib\sequential_executor.js:115:18)
  message: 'Access Denied',
  code: 'AccessDenied',
  region: null,
  time: 2018-01-22T19:55:32.340Z,
  requestId: 'A203EF147D74B02D',
  extendedRequestId: 'N4Too4JpcM23CHe+EHoFLLrGlS2nmd9sJDpgsJnILzZLeu/v/6dp8il6OK4hgTS1RqtPHmd/Zps=',
  cfId: undefined,
  statusCode: 403,
  retryable: false,
  retryDelay: 38.17325066108286 }

Can you please tell me what am I doing wrong? and how do I know which region to use?

the bucket should be bucket: pc-backend-exercises, file: toSearch.json