Skip to content

Credentials for importing from repos with secured webdav remotes #7869

Answered by skshetry
mdekstrand asked this question in Help
Discussion options

You must be logged in to vote

You can keep them in your global config.

dvc remote modify --global remote user $SECRET_USER
dvc remote modify --global remote password $SECRET_KEY

WebdavFileSystem also supports netrc.

eg:

# ~/.netrc should only be accessible to the current user
(umask 077; echo "machine $SECRET_HOSTNAME login $SECRET_USER password $SECRET_KEY" > ~/.netrc)

You may also be interested in https://github.com/iterative/dvc/issues/6416.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mdekstrand
Comment options

Answer selected by mdekstrand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants