AWS authentication fails with assumed roles
This is actually caused by an issue in the AWS C++ SDK where configurations with assumed roles are ignored by the DefaultCredentialsProviderChain: https://github.com/aws/aws-sdk-cpp/issues/150
However, we need to find a workaround as this was promised to be fixed "incredibly soon" back in 2016 and still isn't fixed.