r-lib / credentials

Tools for Managing SSH and Git Credentials
https://docs.ropensci.org/credentials
Other
72 stars 5 forks source link

Add url parameter in set_github_pat() #9

Open jeroen opened 4 years ago

jeroen commented 4 years ago

Many open questions:

jennybc commented 4 years ago

As for supporting and slugifying username ... we could NOT support that initially, in order to make it easier to move forward now.

Getting support for non-github.com deployments feels like 90% of the win here and we can wait and see if people actually ask for username support.

jennybc commented 4 years ago

For the Windows Git Credential Manager, the GCM_INTERACTIVE environment variable is very intriguing to me:

http://microsoft.github.io/Git-Credential-Manager-for-Windows/Docs/Environment.html#gcm_interactive

Specifies if user can be prompted for credentials or not.

Supports Auto, Always, or Never. Defaults to Auto.