fix S3 credentials