title: copy object from minio bucket to S3 bucket
body: <p>I'm trying to use native boto3 to copy objects from Minio bucket to aws s3 bucket. I have seen that the protocol is exactly the same but the problem with the buckets endpoint. I know it can be possible through mc client but i want to use native boto3 client. I have set both source and destination buckets to be public but i still can't get it done. here is a sample code</p>
  <pre><code>import boto3
  
  SESSION_s3 = boto3.session.Session(region_name=&quot;MY_REGION&quot;)
  s3 = SESSION_s3.resource('s3', aws_access_key_id='MY_ACCESS_KEY',aws_secret_access_key='MY_SECRET_KEY').meta.client
  
  SESSION_minio = boto3.session.Session(region_name=&quot;MY_REGION&quot;)
  config=boto3.session.Config(signature_version='s3v4')
  minio = SESSION_minio.resource('s3', endpoint_url='http://my_minio_public_server:9000',
                         aws_access_key_id='username',
                         aws_secret_access_key='password', config=config
                         ).meta.client
  
  src = {&quot;Bucket&quot;: &quot;minio_bucket&quot;, &quot;Key&quot;: &quot;example.jpg&quot;}
  s3.copy(src, &quot;s3_bucket_name&quot;, &quot;example.jpg&quot;, SourceClient=minio) 
  </code></pre>
  <p>that leads to the below error</p>
  <pre><code>botocore.exceptions.ClientError: An error occurred (AccessDenied) when calling the CopyObject operation: Access Denied
  </code></pre>
  <p>Is there anyway to get this connectivity between the two clients ? or is there any better idea ? noting that the minio client is not an option for me.</p>