question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How can I use it with AWS SDK 2.x ?

See original GitHub issue

Hello,

I’m using aws-secretsmanager-jdbc 1.06 with springboot 2.3.4 and gradle: implementation 'com.amazonaws.secretsmanager:aws-secretsmanager-jdbc:1.0.6'

It works for me locally, on my development PC, and I’m able to connect to Aurora Postgres with a secret coming from SecertsManager.

But I noticed that it loads by default java-sdk-core:1.11.418 and java-sdk-secretsmanager:1.11.418

I need to implement the same in EKS environment and assume IAM role for service account. However, per AWS documentation, the minimal SDK version required is 2.10.11 https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts-minimum-sdk.html

Any plan to support SDK 2.X dependency? I saw that the underlying dependency aws-secretsmanager-caching-java has an opened PR on that: https://github.com/aws/aws-secretsmanager-caching-java/pull/6

Regards, Ori.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
oridoolcommented, May 27, 2021

Thank you for your feedback. We have noted this as a feature request.

@willtong1234 , note PR #51 - why not simply merge it?

3reactions
oridoolcommented, Nov 3, 2020

I added PR #51 .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Developer guide - AWS SDK for Java 2.x
The AWS SDK for Java provides a Java API for AWS services. Using the SDK, you can easily build Java applications that work...
Read more >
Using the AWS SDK for Java 2.x
After completing the steps in Setting up the SDK, you are ready to make requests to AWS services such as Amazon S3, DynamoDB,...
Read more >
Working with Amazon S3 - AWS SDK for Java 2.x
This section provides examples of programming with Amazon Simple Storage Service (S3) using the AWS SDK for Java 2.x. The following examples include...
Read more >
Migrating from version 1.x to 2.x of the AWS SDK for Java
The AWS SDK for Java 2.x is a major rewrite of the 1.x code base built on top of Java 8+. It includes...
Read more >
Get started with the AWS SDK for Java 2.x
Step 1: Set up for this tutorial. Step 2: Create the project. Step 3: Write the code ; Create an AWS account. Create...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found