Use GitHub as a centralized repository of SSH keys
1.2K
github_pki is a command that can be used to retrieve and dump SSH keys from GitHub.
devops in organization zeorg to /home/bob/.ssh/authorized_keys$ AUTHORIZED_KEYS=/home/bob/.ssh/authorized_keys \
GITHUB_ORG="zeorg" \
GITHUB_TEAM="devops" \
GITHUB_TOKEN=398d6d326b546d70f9e1ef91abad1fc5ee0f1f39 \
github_pki
$ SSL_DIR=/etc/software/ssl \
GITHUB_USERS="bob,alice" \
GITHUB_TOKEN=398d6d326b546d70f9e1ef91abad1fc5ee0f1f39 \
github_pki
The GitHub token used to connect to the GitHub API. It must allow two actions:
An organization from which to select users to authorize.
A team of the provided organization from which to select users to authorize.
If not specified, all users in GITHUB_ORG will be authorized.
A list of GitHub users to authorize.
The location of the authorized_keys file to create.
The location of the SSL directory where X509 public keys should be dumped.
Content type
Image
Digest
Size
256.4 MB
Last updated
over 10 years ago
docker pull raphink/github_pki:test