twosigma / twosigma/beakerx

Dynamic jdbc connection string

Open
#8,141 3 comments 0 reactions 1 assignee Claimed by @LeeTZ View on GitHub
Dominant language
Jupyter Notebook
Stars
2.9k
Forks
383
PR merge metrics
No merged PRs in 30d

Description

Hi!

First of all, thank you for the Beaker project. I've been regularly using it for a few years and I'm now giving a try to the modern BeakerX.

When in SQL language, I create a connection via jdbc using the %defaultDatasource magics. Although the connection itself works fine (i.e. I can retrieve the data from the database), my jdbc connection string contains sensitive information (i.e. login/password) which I would prefer not to save as plain text in the notebook.

So I wonder whether there is away to dynamically construct a jdbc connection string and feed it to the %defaultDatasource magic, by analogy with how the "%classpath add dynamyc" magic works.

Overall, your advice on how to avoid storing credentials in plain for custom jdbc connections in BeakerX is much appreciated.

Thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.