Skip to content

Support for custom auth providers #34

Description

@downsider

My company are investigating a migration from our self hosted Cassandra instances to AWS Keyspaces, which is touted as a drop in replacement for Cassandra

We have hit a problem with authentication, whereby either we have to use credentials for a "service account" IAM user (which our InfoSec team highly frown upon, for reasons) or use temporary token passwords (similar to access tokens used in OAuth) generated via Sigv4. The process for using Sigv4 requires us to inject a custom header containing the signed token into the request, so that AWS can validate the request is genuine

Would it be possible to add support for custom auth providers into the driver please, so we can implement and use the more secure auth Sigv4 authentication method?

The python implementation of this can be found here: https://github.com/aws/aws-sigv4-auth-cassandra-python-driver-plugin and the API it uses: https://docs.datastax.com/en/developer/python-driver/3.24/api/cassandra/auth/#cassandra.auth.AuthProvider.

We would be looking for a similar API, so this could also potentially be used with SASL or any other compatible authentication mechanism

Metadata

Metadata

Labels

enhancementNew feature or requestgood first issueGood for newcomershelp wantedExtra attention is neededquestionFurther information is requested

Type

No type

Projects

Status
To do

Relationships

None yet

Development

No branches or pull requests

Issue actions