Open kassett opened 1 year ago
This seems reasonable. The Elasticsearch connector has AWS authentication support and thus is probably a good example to look at.
I will finish the PR by EOD. @electrum Any chance you can make me a collaborator so I can assign the issue to myself?
AWS doesn't offer the dockerized image of Keyspaces, right? Ideally, we want to have a testing environment.
There is no dockerized image, but support for this authprovider is plug and play. Perhaps we could just setup testing for the provider itself? Glue also doesn't have a docker image, for instance.
We run tests with the actual Glue instance. We could adapt the same approach for AWS Keyspaces as well, but someone need to pay 💰 to AWS.
I'll read into it -- I guess we could do that with Keyspaces too.
AWS Keyspaces is a derivative of Cassandra, and should theoretically be supported by the Trino connector. However, it is does not support basic authentication, instead requiring Sigv4 authentication (https://github.com/aws/aws-sigv4-auth-cassandra-java-driver-plugin). Could we add support for AWS Keyspaces by integrating this plugin and allowing the configuration of IAM roles?