title: Pulling data from S3 using an address and access key from Python
body: <p>I've been given a path to an S3 bucket and a key to access it, how can I access the bucket? and how can I do it from Python?</p>
  <p>The name looks like this <code>solutions/accounts/services</code> and the key is some string.</p>
  <p>I tried doing this:</p>
  <pre class="lang-py prettyprint-override"><code>import boto3
  
  response = client.get_object(
      Bucket='solutions',
      Key='accounts/services'
  )
  
  print(response)
  </code></pre>
  <p>This yields:</p>
  <pre class="lang-py prettyprint-override"><code>botocore.exceptions.ClientError: An error occurred (AccessDenied) when calling the GetObject operation: Access Denied
  </code></pre>
  <p>I was provided a key to this S3 bucket in the form of : <code>OKIA4RBSCI236N869IJG</code></p>
  <p>Where does this key need to be inserted?</p>