allow specifying HTTP Basic auth parameters in config file (or netrc) for dvc import #10623
Labels
awaiting response
we are waiting for your reply, please respond! :)
feature request
Requesting a new feature
I'd like to place
dvc
references in my git repo to data hosted on e.g. huggingface. But the models are private. If I do:I get prompted for a username/password. I'd like to avoid this username/password prompt by being able to specify the username/password in a local config file. I cannot figure out how to do this with dvc, and I suspect it's not possible (but please tell me if it is!). What I'd want to work is either in .dvc/config (well, .dvc/config.local, but any of them):
alternatively, look for any remote that has the same URL configured as what's passed to
dvc import
; so:and in config.local:
Another alternate option -- use a
~/.netrc
file likerequests
orcurl
does.aiohttp
doesn't have native support for netrc, but the file format is trivial.The text was updated successfully, but these errors were encountered: