You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, it is possible to manually set authentication to basic, then set user and password as config parameters. This means saving a password in plain text in the config or config.local file, or alternatively use ask_password which is also sub-optimal.
The standard HTTP protocol, which is also used by git, is the following:
Try to access URL (plain request)
Receive 401 with header WWW-Authenticate: Basic realm=<realm>
Locally fetch username and password - preferably store the password in the OS password store (i.e Keychain for MacOS)
Retry to access URL again with basic auth header.
This will make it possible to configure an HTTP remote with a single line dvc remote add origin https://dagshub.com/user/repo.dvc
And directly be able to run dvc push -r origin
The text was updated successfully, but these errors were encountered:
I would add - this would also make it much easier to implement dvc push -r https://my-dvc-remote/ directly,
without configuring anything, much like how git clone works.
Currently, it is possible to manually set authentication to
basic
, then setuser
andpassword
as config parameters. This means saving a password in plain text in theconfig
orconfig.local
file, or alternatively useask_password
which is also sub-optimal.The standard HTTP protocol, which is also used by git, is the following:
401
with headerWWW-Authenticate: Basic realm=<realm>
This will make it possible to configure an HTTP remote with a single line
dvc remote add origin https://dagshub.com/user/repo.dvc
And directly be able to run
dvc push -r origin
The text was updated successfully, but these errors were encountered: