AWS S3 changes so that the code obtain credentials from backend first