Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

hubot-vault

0.0.1 • Public • Published

hubot-vault Build Status

Installation

  • Add hubot-vault to your package.json file.
  • Set HUBOT_FERNET_SECRETS to dd 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.

install

npm i hubot-vault

Downloadsweekly downloads

4

version

0.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability