-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Help us help you
We'd like to know more about
your Tink deployment.
Describe the bug:
When using WebIdentityTokens, I get the following message in debug:
AWSCredentialsProviderChain - Unable to load credentials from WebIdentityTokenCredentialsProvider: To use assume role profiles the aws-java-sdk-sts module must be on the class path.
This does not allow me to use Tink in EKS with IRSA enabled.
What was the expected behavior?
I want Tink to be able to use WebIdentityTokens and it needs the aws-java-sdk-sts module must be on the class path to do that.
How can we reproduce the bug?
Try to use Tink in EKS with IRSA.
Do you have any debugging information?
If applicable, include error messages, stack traces, or any other debugging information.
What version of Tink are you using?
1.6.1, but I don't see the fix was deployed in 1.7.0 either.
Can you tell us more about your development environment?
JDK 11
Is there anything else you'd like to add?
The solution is to add aws-java-sdk-sts to the list of dependencies for this module.
I tried adding it as a dependency to my program but it didn't do the trick.