github-jwt-generator

command module
v0.0.0-...-3dc43ed Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

README

github-jwt-generator

Generate Bearer tokens to act as a GitHub App against the GitHub API

Run
go mod tidy

export GH_APP_ID="#####"
export PRIV_KEY_PATH="$HOME/Downloads/abc-123.2083-10-06.private-key.pem"

go run main.go
Reference

https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-as-a-github-app

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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