title: How to use Apache Camel to copy files from S3 located in cross account
body: <p>I have a requirement to copy files from/to s3 located in a different aws account using Apache Camel. </p>
  
  <p>For instance I am running Camel in Account A and S3 is present in Account B.
  I have created a cross account role to access S3 from Account A.</p>
  
  <p>Initially I created an s3Client using STS and set it in camel registry to access the S3 from Account B. As these are temporary credentials, they can expire any time before completion of copy job. In such case what should I do? Is there a way to update the s3-client in camel registry while running the route?</p>