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

Connect to aws keyspace with aws sigv4 plugin #325

Open
hfrs123 opened this issue Oct 24, 2024 · 1 comment
Open

Connect to aws keyspace with aws sigv4 plugin #325

hfrs123 opened this issue Oct 24, 2024 · 1 comment

Comments

@hfrs123
Copy link

hfrs123 commented Oct 24, 2024

We are using AWS keyspaces with IAM role for authentication instead of service credentials. we are connecting to AWS keyspaces from spring boot app using AWS sigv4 plugin. In this case, how can we integrate liquibase with AWS keyspaces.

As per the liquibase docs, we need to specify the user name and password in the liquibase properties file. Here we don't have user name and password. Instead we have IAM role with permission to keyspace. And the IAM role is attached in service which will be used by the AWS Sigv4 plugin to authenticate and connect.

@maximevw
Copy link
Contributor

Hello @hfrs123

As announced in my message here, a new version (4.14.0) of Cassandra JDBC wrapper is now available including the support of Amazon Keyspaces and SigV4 plugin.

You can download the JDBC driver bundle here and place it into the Liquibase classpath (lib directory). I think this version would probably be included by default with Liquibase Cassandra in the next release.

Regarding the specific parameters of the JDBC URL to use to activate SigV4 authentication plugin, please refer to the JDBC driver documentation.

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