title: How to sync data between two s3 buckets owned by different profiles
body: <p>I want to sync data between two s3 buckets.</p>
  
  <p>The problem is that each one is owned by different AWS accounts (i.e. access key id and secret access key).</p>
  
  <p>I tried to make the destination bucket publicly writable, but I still get</p>
  
  <pre><code>fatal error: An error occurred (AccessDenied) when calling the ListObjects operation: Access Denied
  </code></pre>
  
  <p>How to solve this?</p>