Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git clone authentication #4212

Closed
dtrifiro opened this issue Dec 29, 2022 · 2 comments · Fixed by #4360
Closed

git clone authentication #4212

dtrifiro opened this issue Dec 29, 2022 · 2 comments · Fixed by #4360
Assignees
Labels
A: docs Area: user documentation (gatsby-theme-iterative) p1-important Active priorities to deal within next sprints

Comments

@dtrifiro
Copy link
Contributor

    Do you think we should specify that DVC does not support interactive auth, and so credentials must be saved somewhere and automatically available when running Git commands to access a private repo?

Originally posted by @dberenbaum in #4211 (comment)

@dtrifiro dtrifiro added the A: docs Area: user documentation (gatsby-theme-iterative) label Dec 29, 2022
@dtrifiro dtrifiro self-assigned this Dec 29, 2022
@dtrifiro dtrifiro added this to DVC Dec 29, 2022
@dtrifiro dtrifiro moved this from Backlog to Todo in DVC Dec 29, 2022
@github-project-automation github-project-automation bot moved this to Backlog in DVC Dec 29, 2022
@dtrifiro dtrifiro moved this from Todo to Backlog in DVC Jan 17, 2023
@dberenbaum dberenbaum changed the title git clones: specify that dvc does not support interactive auth git clone authentication Feb 13, 2023
@dberenbaum
Copy link
Contributor

I think we should make this a broader troubleshooting to explain common issues users might face when DVC needs to authenticate a Git repo. Some example issues that could be covered (I think there have been more):

Things to include:

  • DVC will read from credential helpers; suggest to use those.
  • DVC does not support interactive authentication, so the credentials must be stored somewhere already (like from having git cloned separately) before you can use them.
  • Keep in mind that local/repo-specific config will not be used when cloning another repo.
  • Mention known limitations like ssh issues with encrypted identity files on MacOS dvc-ssh#20.

@dberenbaum dberenbaum added the p1-important Active priorities to deal within next sprints label Feb 13, 2023
@dberenbaum dberenbaum moved this from Backlog to Todo in DVC Feb 14, 2023
@dberenbaum
Copy link
Contributor

We also claim that exp push/pull only support SSH auth, which I don't think should be true anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: docs Area: user documentation (gatsby-theme-iterative) p1-important Active priorities to deal within next sprints
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants