You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that in order to use the StsAssumeRoleCredehntialsProvider.Builder you need to call an stsClient method to set the client that it uses. Failing to do so results in a NullPointerException.
However, that method is not mentioned at all in the documentation for the Builder class or the credentials provider class. I was only able to discover the need for calling this method, due to a stack overflow answer and the source code for StsCredentialsProvider.