Added temp. credentials support for S3