Hey,
Is there a way to initialize either a Spawner or a Notebook with environment variables computed “dynamically” (eg per user)? I have a web app which uses the API to interact with JupyterHub (and the single user servers), but each user has unique credentials which they would use to authenticate with the database and I’d like for those credentials to be available in the user environment as opposed to users having to paste them in or having them otherwise exposed in the notebook.
I’m using JupyterHub 1.4.1 with the default DockerSpawner. I’ve seen this GH issue which implies that while it may not be possible with the default maybe a different spawner will let me do what i’m trying to do?