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

feat(gocql): add authentication support #1939

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

strahe
Copy link
Contributor

@strahe strahe commented Jul 22, 2024

We are useing Yugabyte with YCQL authentication enabled via the parameter --use_cassandra_authentication and YSQL authentication enabled via --ysql_enable_auth.

However, boostd-data is unable to utilize Cassandra authentication and can only connect using YSQL authorization through the connection string.

This PR enables users to authenticate using Cassandra credentials.

@LexLuthr
Copy link
Collaborator

@strahe This will need to be implemented on Curio side as well. Yb would be common for both. If Yb has auth enabled then we will need client auth on both sides.

@strahe
Copy link
Contributor Author

strahe commented Jul 23, 2024

@LexLuthr It appears that Curio only uses YSQL interface. Did I miss anything?

@strahe
Copy link
Contributor Author

strahe commented Aug 14, 2024

@LexLuthr Can you review this again? We really need this feature. As far as I know, YCQL is not used in Curio, so it does not affect Curio.

@LexLuthr
Copy link
Collaborator

@strahe Have you tested this? Can you please add an auth test?

@strahe
Copy link
Contributor Author

strahe commented Aug 14, 2024

@LexLuthr Tested and already in use in our production environment. Do you mean adding a test screenshot or a test case script?

@LexLuthr LexLuthr merged commit 7e463cd into filecoin-project:main Aug 14, 2024
21 checks passed
@LexLuthr
Copy link
Collaborator

Thanks for the PR

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

Successfully merging this pull request may close these issues.

2 participants