hubot-vault
v0.0.1
Published
Helpers to store securely stuff inside hubot
Downloads
7
Maintainers
Readme
hubot-vault
Installation
- Add hubot-vault to your
package.json
file. - Set
HUBOT_FERNET_SECRETS
todd if=/dev/urandom bs=32 count=1 2>/dev/null | openssl base64
Usage
vault = robot.vault.forUser(user)
vault.set("secret_token", "secret_value")
vault.get("secret_token") # => "secret_value"
vault.unset("secret_token")
Keys Rotation
Just prepend the HUBOT_FERNET_SECRETS
with the next key
HUBOT_FERNET_SECRETS=new_key,old_keys
See Also
- hubot - A chat robot with support for a lot of networks.