Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1.19 KB

README.md

File metadata and controls

43 lines (29 loc) · 1.19 KB

Hubot Keys Build Status npm

🐈 Store users' public SSH keys in Hubot.

hubot-keys screenshot

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 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.


Open source licensing info

  1. TERMS
  2. LICENSE
  3. CFPB Source Code Policy