boost icon indicating copy to clipboard operation
boost copied to clipboard

feat(gocql): add authentication support

Open strahe opened this issue 1 year ago • 2 comments

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.

strahe avatar Jul 22 '24 08:07 strahe

@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.

LexLuthr avatar Jul 23 '24 11:07 LexLuthr

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

strahe avatar Jul 23 '24 13:07 strahe

@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.

strahe avatar Aug 14 '24 01:08 strahe

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

LexLuthr avatar Aug 14 '24 09:08 LexLuthr

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

strahe avatar Aug 14 '24 10:08 strahe

Thanks for the PR

LexLuthr avatar Aug 14 '24 10:08 LexLuthr