Skip to content

Conversation

@mjcheetham
Copy link
Contributor

Add a null/no-op credential store option that, as the name suggests, does nothing. This can be useful if the user wants to use another credential helper, configured in-front of GCM via Git, to store credentials.

Example config:

[credential]
	credentialStore = none
	helper = /bin/my-awesome-helper
	helper = /usr/local/bin/git-credential-manager

In this example, the my-awesome-helper will be consulted first to retrieve existing credentials before GCM, and will be asked to store any credentials generated by GCM.

Fixes #1283

Add a null/no-op credential store option that, as the name suggests,
does nothing. This can be useful if the user wants to use another
credential helper, configured in-front of GCM via Git, to store
credentials.

Example config:

```ini
[credential]
	credentialStore = none
	helper = /bin/my-awesome-helper
	helper = /usr/local/bin/git-credential-manager
```

In this example, the `my-awesome-helper` will be consulted first to
retrieve existing credentials before GCM, and will be asked to store
any credentials generated by GCM.
@mjcheetham mjcheetham added the enhancement New feature or request label Oct 15, 2024
@mjcheetham mjcheetham requested review from dscho and hickford October 15, 2024 11:16
@mjcheetham mjcheetham merged commit 969e452 into git-ecosystem:main Oct 15, 2024
@mjcheetham mjcheetham deleted the noop-credstore branch October 15, 2024 16:18
@hasanabualrub

This comment has been minimized.

@mjcheetham mjcheetham mentioned this pull request Jan 14, 2026
mjcheetham added a commit that referenced this pull request Jan 14, 2026
**Changes:**


- Documentation updates & fixes
  - #1713
  - #1722
  - #1884
  - #2123
  - #2154
- Fix Generic provider refresh token refresh logic (#1838)
- Version bump to 2.7.0 (#2177)
- CODEOWNERS (#2053)
- Allow unsafe remotes via config (#1721)
- Drop no longer needed GitLab OAuth params (#1538)
- No-op credential storage option (#1740)
- Fixes to CI & build
  - #1746
  - #1747
  - #1752
  - #2104
  - #2217
- Use Azure Pipelines for official builds
  - #2054
  - #2176
- Fix TRACE2 logging (#1909)
- Linux ARM and ARM64 support
  - #1633
  - #2232
- Windows ARM64 and x64 support (#2230)
- Linux install-from-source bug fixes
  - #1757
  - #2049
  - #2052
- Support Oracle Linux vis install-from-source (#2212)
- macOS enterprise defaults (#1811)
- Actions dependency updates
  - #1725
  - #1751
  - #1750
  - #1760
  - #1799
  - #2022
  - #2048
  - #1989
  - #2011
  - #2029
  - #2051
  - #2050
  - #2070
  - #2080
  - #2089
  - #2088
  - #2092
  - #2189
  - #2193
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error "No credential store has been selected" when using multiple credential helpers

3 participants