Add a note on the OAuth token config

This commit is contained in:
Shteryana Shopova 2019-07-21 00:58:54 +03:00 committed by GitHub
parent 61b73ceece
commit ab4cfe84f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -1,11 +1,14 @@
Use the Github API to fetch configured SSH keys for a team. Use the Github API to fetch configured SSH keys for a team.
Build by Build by (making sure your GOPATH environment variable is properly configured) -
``` ```
go get go get
go build go build
``` ```
Run Run
``` ```
./fetch-keys --help ./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](https://github.com/settings/tokens) and have either properly edited the [authtoken.go](authtoken.go#L3) source file (!!! with caution), or pass the appropriate token via the command line.