Skip to content

samsarahq/github-app-credential-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages