2019/access/fetch-keys/README.md

15 lines
530 B
Markdown
Raw Permalink Normal View History

Use the Github API to fetch configured SSH keys for a team.
2019-07-21 00:58:54 +03:00
Build by (making sure your GOPATH environment variable is properly configured) -
```
go get
go build
```
2019-07-21 00:58:54 +03:00
Run
```
./fetch-keys --help
```
2019-07-21 00:58:54 +03:00
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.