Comments (10)
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.
I added PR #51 .
from aws-secretsmanager-jdbc.
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.
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.
@Fryie , have you seen my PR #51 ?
It's working with SDK2.x also now.
from aws-secretsmanager-jdbc.
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.
Thank you for your feedback. We have noted this as a feature request.
from aws-secretsmanager-jdbc.
@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.
@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.
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)
- Add support for Snowflake HOT 1
- Support Java 17 HOT 1
- Secret not getting refreshed HOT 10
- Allow means to specify AWS profile other than `default` HOT 1
- JaCoCo added as a non-scoped transitive dependency HOT 1
- Support providing regions/endpoint configuration at connection-time HOT 2
- using MySQL `autoReconnect=true` configuration results in unhandled access denied errors HOT 1
- Add docs on configuring underlying secret cache HOT 3
- Vendor app based on Java running in AWS EKS to connect to RDS Oracle using Secrets Manager HOT 4
- AWSSecretsManagerPostgreSQLDriver incorrectly constructs URL when dbname is missing
- Connection from AWS EKS Fargate to Secrets Manager without using an AWS_ACCESS_KEY. HOT 5
- Springboot - Exception encountered during context initialization HOT 1
- PostgreSQL driver enhancement for addressing Alternating User Rotation with RDS Proxy
- provide option to enforce ssl
- Configurable backup region/failover option HOT 1
- dbInstanceIdentifier property of a Postgres AWS RDS Secret is not read from rds secret HOT 2
- JDBC URL config example is unclear HOT 1
- Vulnerablities in jackson databind and netty (via secrets manager) HOT 1
- No Driver has been registered with name, com.mysql.cj.jdbc.Driver HOT 1
- Could not refresh secret manager Got error Cannot begin a subsegment without an initialized segment when password changed HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-secretsmanager-jdbc.