Sign inSign up

horgix/github-ssh-keys-fetcher

By horgix

Updated about 8 years ago

Configure system users and their authorized SSH keys from Github Org/Teams

Image
0

2.3K

horgix/github-ssh-keys-fetcher repository overview

export GITHUB_ORG="my-github-organization"
for login in `http https://api.github.com/orgs/${GITHUB_ORG}/members -p b | jq '.[].login' | tr -d '"'` ; do http https://api.github.com/users/${login}/keys -p b | jq '.[].key' ; done

Ideas

Get refreshed from Github Organization webhooks

Ideally, when using this, you want to keep your users synced to the Team members, and thus remove people when they are removed from the Team and/or Organization.

This could be notified directly by Github webhooks, especially since Organization webhooks were added

Backups

Backup /etc/passwd, /etc/group and /etc/shadow files with Ansible instead of the current wrapper shell scripts?

Tag summary

Content type

Image

Digest

Size

76.9 MB

Last updated

about 8 years ago

docker pull horgix/github-ssh-keys-fetcher