Git 憑證輔助程式
此頁面列出可用的 憑證輔助程式。
包含在 Git 中
- git-credential-store:以明文儲存憑證。
- git-credential-cache:將憑證暫時保存在進程記憶體中。在 Windows 上不可用。(請注意,由於憑證會在快取過期或系統重新啟動時遺失,因此不適合儲存長期有效的個人存取權杖。)
平台特定儲存
- git-credential-osxkeychain:儲存在 macOS 鑰匙圈中。包含在 macOS Git 安裝中。
- git-credential-libsecret:儲存在 Linux 密鑰服務中,例如 GNOME Keyring 或 KDE Wallet。已打包在許多 Linux 發行版中。
- git-credential-wincred:儲存在 Windows 憑證管理員中。包含在 Windows 版 Git 中。
OAuth
以下跨平台輔助程式支援使用 OAuth 進行身份驗證。初始身份驗證會開啟瀏覽器視窗連至主機。後續的身份驗證會在背景進行。
- Git Credential Manager:包含在 Windows 版 Git 中。支援多種憑證儲存方式。
- git-credential-oauth:包含在許多 Linux 發行版中。
特定儲存
- git-credential-gopass:儲存在 gopass 密碼管理器中。
- git-credential-lastpass:儲存在 LastPass 密碼管理器中。
- git-credential-1password:儲存在 1Password 密碼管理器中。
- git-credential-keepassxc:儲存在 KeePassXC 密碼管理器中。
主機特定
- git-credential-netlify:向 Netlify 進行身份驗證。
- git-credential-azure:向 Azure Repos 進行身份驗證。