Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add no-op credential storage option #1740

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

mjcheetham
Copy link
Collaborator

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
8 checks passed
@mjcheetham mjcheetham deleted the noop-credstore branch October 15, 2024 16:18
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
2 participants