Skip to content
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

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

Open
FangjianLu opened this issue Jun 29, 2024 · 2 comments
Open

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

FangjianLu opened this issue Jun 29, 2024 · 2 comments

Comments

@FangjianLu
Copy link

FangjianLu commented Jun 29, 2024

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.

@FangjianLu FangjianLu changed the title Support for IAM Roles for Service Accounts (IRAS) Support for IAM Roles for Service Accounts (IRSA) Jun 29, 2024
@murdoch
Copy link

murdoch commented Oct 4, 2024

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

@FangjianLu
Copy link
Author

@murdoch I had to workaround by replacing this line with below.

MAVEN_PACKAGES = [
  ["com.amazonaws", "aws-java-sdk-sts", common_versions["${aws-java-sdk.version}"] || "1.12.370"]
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants