-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supporting authentications. #6
Comments
Thanks for taking the time to make a feature request! That is a great idea and one that makes perfect sense. I can get this implemented and updated pretty quickly. |
Any progress on this? |
Hi Lawrence, May I suggest a full options Object in the user config to instantiate a cassandra-driver singleton. "cql": {
"contactPoints": ["10.0.0.1", "10.0.0.2"]
"auth": { // will need a factory to get a new instance of authProvider
"provider": "PlainTextAuthProvider",
"user": "username",
"password": "somapassword",
}
"keyspace": "somekeyspace", // none if empty
"policies": // maybe later with localDatacenter and loadbalancing
} Thank you for the work. If I get the time I will try to fix a PR. c |
I've written some code to support authentication in local files("cqlExecutor.js:24")
|
You can run your extension in debug mode in vscode. |
first of all, thanks for make this useful plugin for vs code.
during I've used it as editing cql statement, I found that It supports executing the statement within vs code.
but there is no way to authenticate to cassandra database. do you have any plan to add the feature at the plugin?
thanks.
The text was updated successfully, but these errors were encountered: