awslabs / amazon-kinesis-client-ruby

A Ruby interface for the Amazon Kinesis Client Library. Allows developers to easily create robust application to process Amazon Kinesis streams in Ruby.
Apache License 2.0
146 stars 56 forks source link

Support for IAM Roles for Service Accounts (IRSA) #86

Open FangjianLu opened 4 months ago

FangjianLu commented 4 months ago

I've encountered this when using IRSA

java.lang.RuntimeException: com.amazonaws.SdkClientException: Unable to load AWS credentials from any provider in the chain: [
...
WebIdentityTokenCredentialsProvider: To use assume role profiles the aws-java-sdk-sts module must be on the class path.
...
]

IRSA uses WebIdentityTokenCredentialsProvider, so probably aws-java-sdk-sts is needed in pom.xml.

murdoch commented 1 month ago

Seeing something similar. Is there any word on how to resolve this?