Connection configuration management and additional tools for Jupyter notebook applications provided by Exasol company.
Exasol Notebook Connector (ENC) currently contains a Secret Store that can be used in Jupyter notebook applications to store arbitrary credentials and configuration items, such as user names, passwords, URLs, etc.
By that users of such notebook applications
from pathlib import Path
from exasol.nb_connector.secret_store import Secrets
file = "password_db.sqlite"
secrets = Secrets(Path(file), "my secret password")
key = "my key"
secrets.save(key, "my value")
value = secrets.get(key)
secrets.save()
will overwrite the value for this key.None
.secrets.save("key-1", "A").save("key-2", "B")