exasol / notebook-connector

Connection configuration management and additional tools for Jupyter notebooks.
MIT License
0 stars 0 forks source link

Spike: Temporary storage for a secret store password. #43

Open ahsimb opened 9 months ago

ahsimb commented 9 months ago

closes #42

It's kinda a proposal for the implementation of temporary storage for a secret store password. New ideas, suggestions, etc, are very welcome.

ahsimb commented 9 months ago

The problem I am trying to solve is about the notebook usage. Most notebooks need access to the secret store where we keep all sorts of configurations. Some of them are sensitive, like for example the database connection details. Therefore the store is protected by a password. Currently, the user has to enter the password in every notebook, which is a bit tedious. The idea is to let the user enter the password and put it into an in-memory store. Ideally, we would also limit the lifespan of this storage. Each notebook runs in its own process. There is no parent process that we can control. So the notebooks have to use the temporary store in some sort of cooperative manner. There is no way one process can pass some kind of multiprocessor object, like a Queue, to another process. Also, we don't want to use files. Jupyter notebooks have their own way of sharing data, but it involves writing it to a file. So we don't want to use it.

kaklakariada commented 9 months ago

This is a spike. The Ticket #42 will be closed, this PR will stay open for later reference.