Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1.29 KB

README.md

File metadata and controls

43 lines (29 loc) · 1.29 KB

emergency-credentials-receive

Guided wizard to receive and decrypt cluster emergency credentials from VSHN Passbolt and our emergency credentials buckets.

Usage

# Interactive mode
emergency-credentials-receive

# Non-interactive mode (after private key setup)
EMR_PASSPHRASE=$(pass vshn/passbolt) emergency-credentials-receive c-crashy-wreck-1234

Install from binary

Install the latest release for your arch and OS with the following command:

curl -s "https://raw.githubusercontent.com/vshn/emergency-credentials-receive/main/install.sh" | bash

# Guided setup
emergency-credentials-receive

Development

There are E2E tests in the e2e directory. They simulate user inputs using expect.

To run the tests you need your passbolt private key and the passbolt passphrase. Or you can use the test credentials from git.vshn.net. Note that the test credentials can only access a very limited set of test clusters. You can set them as environment variables:

export E2E_PASSBOLT_PASSPHRASE="..."
export E2E_PASSBOLT_PRIVATE_KEY="$(cat /path/to/private.key)"

Resources