It would be great if IAM roles could be used to provide credentials for S3 instead of explicitly providing an S3 access key. I think that in order to do this, the S3 library would likely need to be upgraded/replaced. I'm not sure if the [[https://github.com/tpyo/amazon-s3-php-class | S3 library]] supports IAM roles or not.