Fetch public keys into authorized_keys via github
This cookbook fetches public keys into authorized_keys via github API (like https://github.com/udzura.keys)
May this work on these platforms:
- Ubuntu
- Debian
- CentOS 6
- Amazon Linux
Please report me if not.
none.
node['github-pubkey']['members'] = %w(udzura akubi)
- Sets operators' github accountnode['github-pubkey']['username'] = 'ops'
- Sets OS username of the operator.authorized_keys
will be installed to his~/.ssh
node['github-pubkey']['home_path'] = '/home/ops'
- Sets home directory whereauthorized_keys
will be installed
node['github-pubkey']['username']
or node['github-pubkey']['home_path']
must be specified.
Installs/updates authorized_keys
via github API.
#=> nil
MIT License; See LICENSE