title: AWS CLI syncing S3 buckets with multiple credentials
body: <p>I have read-only access to a source S3 bucket. I cannot change permissions or anything of the sort on this source account and bucket. I do not own this account.</p>
  
  <p>I would like to sync all files from the source bucket to my destination bucket. I own the account that contains the destination bucket.</p>
  
  <p>I have a separate sets of credentials for the source bucket that I do not own and the destination bucket that I do own.</p>
  
  <p>Is there a way to use the AWS CLI to sync between buckets using two sets of credentials?</p>
  
  <pre><code>aws s3 sync s3://source-bucket/ --profile source-profile s3://destination-bucket --profile default
  </code></pre>
  
  <p>If not, how can I setup permissions on my owned destination bucket to that I can sync with the CLI?</p>