Class GitCredentialHelperMasterSource

All Implemented Interfaces:
MasterSource, MasterSourceMeta

@Singleton @Named("git-credential") public final class GitCredentialHelperMasterSource extends PrefixMasterSourceSupport implements MasterSourceMeta
Password source that uses Git Credential Helpers.

Git credential helpers have a common interface for retrieving credentials. This master source allows using any git credential helper to retrieve passwords.

Config: git-credential:helper-name?url=protocol://host/path

Examples:

  • git-credential:cache?url=https://maven.apache.org/master
  • git-credential:store?url=https://maven.apache.org/master
  • git-credential:/usr/local/bin/git-credential-osxkeychain?url=https://maven.apache.org/master
See Also: