Skip to content

Packages the official Git Credential Manager cross-platform credential store implementation supporting Windows, macOS and Linux for use as a NS2.0 library with no UI or external dependencies.

License

Notifications You must be signed in to change notification settings

devlooped/CredentialManager

Repository files navigation

Icon Git Credential Manager Lib

Version Downloads License Build

Packages the official Git Credential Manager cross-platform credential store implementation supporting Windows, macOS and Linux for use as a NS2.0 library with no UI or external dependencies.

Release version numbers track the GCM releases themselves.

Usage

using GitCredentialManager;
...

ICredentialStore store = CredentialManager.Create("myapp");

// Store a credential
store.AddOrUpdate("https://foo.com", "myusr", "mypwd");

// Retrieve a credential
ICredential cred = store.Get("https://foo.com", "myusr");

Assert.Equal("myusr", cred.Account);
Assert.Equal("mypwd", cred.Password);

The namespace for the CredentialManager static factory class is the same as the official GCM itself for convenience: GitCredentialManager.

The optional namespace argument (myapp above) can be used to scope credential operations to your own app/service.

The library targets .NET Standard 2.0 for broad applicability.

Supported credential stores and their configuration is shared with the GCM project itself.

Sponsors

Clarius Org Kirill Osenkov MFB Technologies, Inc. Stephen Shaw Torutek DRIVE.NET, Inc. Ashley Medway Keith Pickford Thomas Bolon Kori Francis Toni Wenzel Giorgi Dalakishvili Mike James Uno Platform Dan Siegel Reuben Swartz Jacob Foshee Eric Johnson Ix Technologies B.V. David JENNI Jonathan Oleg Kyrylchuk Charley Wu Jakob Tikjøb Andersen Seann Alexander Tino Hager Mark Seemann Angelo Belchior Ken Bonny Simon Cropp agileworks-eu sorahex Zheyu Shen Vezel Michael Staib ChilliCream 4OTC

Sponsor this project  

Learn more about GitHub Sponsors

About

Packages the official Git Credential Manager cross-platform credential store implementation supporting Windows, macOS and Linux for use as a NS2.0 library with no UI or external dependencies.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Languages