emergency-credentials-receive

command module
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 25 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL