boost
boost copied to clipboard
feat(gocql): add authentication support
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 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 It appears that Curio only uses YSQL interface. Did I miss anything?
@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 Have you tested this? Can you please add an auth test?
@LexLuthr Tested and already in use in our production environment. Do you mean adding a test screenshot or a test case script?
Thanks for the PR