I want to a private package via
%pip install -r /dbfs/requirements.txt
Inside this requirements.txt is give:
git+https://<user>:$token@<gitprovider>.com/<path/to/repo>
If i give user and token inside the requirements.txt it works like a charm, but I want to pass user and token via dbutils.secrets. Is this doable without manipulating the requirements.txt before?
I thought it would be possible to create environment variables, but this did not work for me.
%env GIT_USERNAME= ...
%env GIT_TOKEN= ...
The way is using python