2023/tools/fetch-keys
Vladimir Vitkov 13dfb3d91f add go.mod go.sum due to golang requirements 2023-08-02 13:04:06 +03:00
..
README.md add fetch-keys by @shteryana 2023-08-02 12:49:59 +03:00
authtoken.go add fetch-keys by @shteryana 2023-08-02 12:49:59 +03:00
go.mod add go.mod go.sum due to golang requirements 2023-08-02 13:04:06 +03:00
go.sum add go.mod go.sum due to golang requirements 2023-08-02 13:04:06 +03:00
main.go add fetch-keys by @shteryana 2023-08-02 12:49:59 +03:00

README.md

Use the Github API to fetch configured SSH keys for a team.

Build by (making sure your GOPATH environment variable is properly configured) -

go get
go build

Run

./fetch-keys --help

The tool uses an OAuth Token to connect to the Github API, make sure you've added a personal access token via your Github account settings and have either properly edited the authtoken.go source file (!!! with caution), or pass the appropriate token via the command line.