Skip to content

Username and password authentication #1695

Answered by Byron
krupis asked this question in Q&A
Discussion options

You must be logged in to vote

The tutorial contains an example for how to configure SSH connections. As for HTTPS, I'd expect such credentials to be stored and retrieved by git's built-in credential helpers.

URLs are allowed to contain username and password, and these could be used through GitPython as well. It's also possible to call credential managers by hand and store a user and password for a URL programmatically. The format is specified in the git documentation - please be aware though that no tooling exists to make interacting with them easier, at least not in GitPython.

I hope that helps.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by Byron
Comment options

You must be logged in to vote
2 replies
@Byron
Comment options

@krupis
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1694 on October 04, 2023 17:22.