Giter VIP home page Giter VIP logo

Comments (10)

maciejwalkowiak avatar maciejwalkowiak commented on August 17, 2024 4

Having them side by side sounds like an acceptable temporary solutions, but ideally I would not like to clutter my application with two versions of dependencies that do the same.

from aws-secretsmanager-jdbc.

oridool avatar oridool commented on August 17, 2024 3

I added PR #51 .

from aws-secretsmanager-jdbc.

oridool avatar oridool commented on August 17, 2024 3

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

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

from aws-secretsmanager-jdbc.

Fryie avatar Fryie commented on August 17, 2024

It's quite unfortunate that this library doesn't work with the newest SDK / with EKS. I spent basically a whole day trying to understand why it wouldn't work.

That said, despite what it says in the documentation, I was able to get version 1.0.6 of this library to work by including the following explicit dependencies:

runtimeOnly "com.amazonaws:aws-java-sdk-core:1.11.923"
runtimeOnly "com.amazonaws:aws-java-sdk-secretsmanager:1.11.923"
runtimeOnly "com.amazonaws:aws-java-sdk-sts:1.11.923"

Indeed, it appears that the WebIdentityTokenCredentialsProvider was added in AWS SDK version 1.11.603, although it also appears that aws-java-sdk-sts needs to be on the classpath for this to work.

from aws-secretsmanager-jdbc.

oridool avatar oridool commented on August 17, 2024

@Fryie , have you seen my PR #51 ?
It's working with SDK2.x also now.

from aws-secretsmanager-jdbc.

Fryie avatar Fryie commented on August 17, 2024

sure, but that PR is not merged nor is a new version released. this fix works with the currently released version.

Obviously, it would be better if this library used the new SDK, but we'll have to wait for the maintainers for that.

from aws-secretsmanager-jdbc.

willtong1234 avatar willtong1234 commented on August 17, 2024

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

from aws-secretsmanager-jdbc.

ashleyfrieze avatar ashleyfrieze commented on August 17, 2024

@willtong1234 - it looks like @oridool has done the legwork to support a version 2 of this in both this project and the SecretCache one. I imagine you'd need a second release train so both major versions of the SDK can be supported. What help do you guys need to bring this over the line?

As it is, I'm faced with the horrible dilemma of rolling my own solution to this because I need something I can guarantee will be available and want to use SDK v2, even though this solution is an excellent one in itself.

from aws-secretsmanager-jdbc.

maciejwalkowiak avatar maciejwalkowiak commented on August 17, 2024

@simonmarty I see some movement in this repo again after quite a long time of silence. Are you able to share if migration to AWS SDK v2 is going to happen and when?

We at https://github.com/awspring/spring-cloud-aws considering integration with this library but only if there are plans to keep it maintained and if it gets migrated to AWS SDK v2.

from aws-secretsmanager-jdbc.

simonmarty avatar simonmarty commented on August 17, 2024

Migrating to AWS SDK v2 is not planned atm, you should be able to use the two versions of the SDK side-by-side. However, if this is causing you pain, please elaborate so we can investigate further.

from aws-secretsmanager-jdbc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.