chiefy / vaulted

nodejs based wrapper for HashiCorp's Vault HTTP API
https://chiefy.github.io/vaulted
MIT License
47 stars 6 forks source link

fix(seal): Require master key share to unseal #66

Closed kenjones-cisco closed 8 years ago

kenjones-cisco commented 8 years ago

unseal requires master key share as input

BREAKING CHANGE: Drops the capturing keys and token automatically on init and now a master key share must be passed in. The orchestration of calling unseal with different master key shares is now the responsibility of the consumer just like Vault.

Also removes backing up of the token and keys as the state is no longer held internally and no longer captured as part of init. The caller is the responsible to capture information and manage directly.

Refer to getting_started.md for how to do init and unseal.

closes #65