2.1.2 • Published 9 years ago
hubot-keys v2.1.2
Hubot Keys

:cat2: Store users' public SSH keys in Hubot.

Installation
Add hubot-keys to your package.json file:
"dependencies": {
...
"hubot-keys": "latest"
}Add hubot-keys to your external-scripts.json:
["hubot-keys"]Run npm install hubot-keys
Commands
hubot my public key is <public_ssh_key> - Stores the user's public SSH key.
hubot what is (my|<username>) public key - Returns the user's public SSH key.
hubot (delete|remove|forget) my public key - Removes the user's public SSH key.This plugin can be used in other Hubot scripts by calling the method robot.keys.keyForUserName(<username>)
or robot.keys.keyForUserId(<userId>) to get a user's public SSH key.