github-app-credential-helper

module
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2025 License: Apache-2.0

README

github-app-credential-helper

release GitHub License GitHub Tag Go Report Card GitHub go.mod Go version Go.Dev reference

This is a library for building git credential helpers for github apps.

Usage

Implement a SecretProvider for whatever secret store you are using. Pass that into the NewAuthenticator constructor and run the Authenticate function. The result is a string that should be written to stdout. Nothing else should be written to stdout since stdin/stdout are the interface pipes for git credential commands.

To see an example implementation, we have an AWS Secrets Manager implementation that pulls the application ID, installation ID, and private key from AWS Secrets Manager.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL