Skip to content

No documentation of stsClient method for StsAssumeRoleCredentialsProvider.Builder #3998

Open
@tmccombs

Description

@tmccombs

Describe the issue

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.

Links

https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/sts/auth/StsAssumeRoleCredentialsProvider.Builder.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationThis is a problem with documentation.p2This is a standard priority issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions