title: How to handle IAM credential rotations when accessing AWS services
body: <p>We have an API Gateway configured to receive external calls to put objects to our S3 bucket. When trying to do it programmatically in Java we have to get the Access Key and Secret Access Key and attach it to the request to AWS.</p>
  
  <p>Our service (Salesforce) that calls the API gateway resides externally to the AWS service and the Access Key and Secret Access Key of an IAM user we are using rotates monthly which means, in the worse case, we have to manually get these keys and copy them over to the specific location.</p>
  
  <p>This does not seem to be an elegant solution, can anyone with experience provide better ways to do it?</p>