S3 IAM Authentication fails due to library bug
Mattermost Server: 5.22.0
Steps to Reproduce
1. Upgrade to version 5.22.0 from 5.21.0 with Amazon S3 file storage with IAM credentials
S3 file uploads work as expected
All S3 related actions fail and this message is printed repeatedly to the logs:
QA Test Steps
I don't have an instance to test with IAM role as I don't have AWS permission to do so. However, the changes still worked fine using AWS credentials, and marking this as tested and passed.
Asking help from you to cross check with the customer whether the commit made fixes their issue. Thanks.
PR is here:
We need to upgrade to version 6.0.45 of the library or later.
Minor correction: you are using version 6.0.45 of the library as of 5.22.0, but you need to upgrade to version 6.0.47 or later to fix this. Also, this should be reproducible even from a new install using Mattermost 5.22.0.