aws / aws-msk-iam-auth

Enables developers to use AWS Identity and Access Management (IAM) to connect to their Amazon Managed Streaming for Apache Kafka (Amazon MSK) clusters.
Apache License 2.0
138 stars 65 forks source link

fix: add missing InstanceProfileCredentialsProvider #169

Closed jvdadda closed 2 months ago

jvdadda commented 2 months ago

Issue #, if available: https://github.com/aws/aws-msk-iam-auth/issues/168

Description of changes:

When migrating to SDK V2, EC2ContainerCredentialsProviderWrapper have been split into 2 different providers: ContainerCredentialsProvider and InstanceProfileCredentialsProvider (cf: https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/migration-client-credentials.html)

Adding the missing InstanceProfileCredentialsProvider provider

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

yermulnik commented 4 weeks ago

When this will get released? We're hitting the same when trying to connect to MSK using 2.1.0.