Skip to content

Git Credential Manager for Mac and Linux stores credentials for Git version control securely. Provides secure logon for Visual Studio Team Services (visualstudio.com).

License

Notifications You must be signed in to change notification settings

microinfo/Git-Credential-Manager-for-Mac-and-Linux

 
 

Repository files navigation

Git Credential Manager for Mac and Linux

The Git Credential Manager for Mac and Linux (GCM) is fairly simple. It stores and retrieves credentials for accessing Git resources on Visual Studio Team Services (VSTS) to and from a secure container.

How does it work?

Once configured with Git, if Git needs credentials for reading from or writing to a Git remote, it sends a request to the program(s) configured as credential.helper, as described in gitcredentials. If none of the credential helpers have valid credentials, Git will prompt for a username and password and then ask the credential helper(s) to save the values for later retrieval.

The GCM currently stores credentials in the file insecureStore.xml, located in the git-credential-manager sub-folder under your HOME folder. You can make this file more secure by turning on file or folder encryption, if your system supports it. An upcoming release will use the operating system's secure storage facility when it's available.

If you are connecting to a Git repository hosted in a VSTS account, the GCM will open a web browser window so you can authenticate and authorize access to your account (via OAuth 2.0), allowing the credential manager to then use the access token to create a VSTS Personal Access Token (PAT) scoped for vso.code_write, effectively granting Git permission to read and write to your Git repositories hosted in VSTS.

If you are connecting to Git repositories hosted elsewhere, the GCM works a lot like git-credential-store and will store & retrieve your username & password.

About

Git Credential Manager for Mac and Linux stores credentials for Git version control securely. Provides secure logon for Visual Studio Team Services (visualstudio.com).

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.8%
  • Other 0.2%