Skip to content

Share database connections with python notebooksย #24676

Open
@tedatimagetrend

Description

As a user of notebooks in the Azure Data Studio Python kernel, I want to access connections created in Azure Data Studio, so that I have a secure and consistent way to manage these connections.

Describe the solution or feature you'd like
I'd like to be able to access connections (including cached passwords) via some method of variable or introspection in my python notebooks. It would be great if I could use the DSN method for pyodbc and it would pickup on the name in my configured SQL connection.

Describe alternatives you've considered
I've tried setting up DSNs through windows administration, I can save a .env file or prompt the user, but that requires me to somehow handle the password.

Additional context
Add any other context or screenshots about the feature request here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions