-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot obtain IAM client without endpoint override #490
Comments
does this have anything to do with #486? if so, we should coordinate efforts with the author of that issue |
At first glance, I don't think the 2 are related, even though both revolve around the |
Yes, that's right.
FYI: The setting key of endpointOverride for |
Bug Report
Describe the Bug
The
AwsClientProviderImpl
provides a method for obtaining an IAM async client. Within this method, theendpointOverride
property is used as the key for storing existing IAM clients. When working with the standard AWS endpoints, theendpointOverride
property will be null. Thereforenull
will be used as the key for the created client, causing a NullPointerException.Expected Behavior
An IAM client can be obtained for working with AWS standard endpoints.
Observed Behavior
A NullPointerException is thrown when trying to obtain an IAM client for AWS standard endpoints.
Steps to Reproduce
Steps to reproduce the behavior:
AwsClientProviderImpl
instanceS3ClientRequest
withendpointOverride=null
AwsClientProviderImpl.iamAsyncClient()
with the previously createdS3ClientRequest
Possible Implementation
Define a default key that will be used if
endpointOverride
is null.The text was updated successfully, but these errors were encountered: