cyberark / secretless-broker

Secure your apps by making them Secretless
Apache License 2.0
234 stars 40 forks source link

Secretless has a Cassandra DB connector #1222

Open izgeri opened 4 years ago

izgeri commented 4 years ago

Objective

Adds a Cassandra DB connector to Secretless, so it can proxy connections to a Cassandra backend.

Feature Overview

Details TBA, but Cassandra apparently ships with the AllowAllAuthenticator on by default and support for a PasswordAuthenticator in the default distribution (see here for more info)

If this connector is interesting for you, please share info about the Cassandra DB versions you're using, the authentication mode your server is configured with, and the client you're using to connect to it.

AC:

Story Breakdown

To be added. Will include handler, tests, documentation, etc.

jodyhuntatx commented 4 years ago

Did a demo today and they were asking about AWS-hosted DBs like Cassandra and RDS instance types.

izgeri commented 4 years ago

@jodyhuntatx we do our XA and performance testing against RDS instances, so we've already tested with PostgreSQL, MySQL, and MSSQL!

BradleyBoutcher commented 4 years ago

Last Friday, I spent some time exploring possible implementations of Cassandra support for Secretless-Broker. This is what I found!

Overall, I think this would be something we could reasonably implement.

I made a branch called cassandra-support that can be used if anyone else wants to dig in. The local version of the forked repo sits inside our third_party directory as a submodule, so we can make changes as needed for now.

izgeri commented 4 years ago

Nice find @BradleyBoutcher! I'm glad to see the library you found uses BSD 3-clause, which allows code modifications and distribution. Thanks for looking into this - if you get to the point of getting e2e with an initial version of this, that'd be cool!