Only use s3_credentials information if it is available