@crypt.fyi/cli
v0.0.17
Published
Readme
@crypt.fyi/cli
CLI for interacting with the crypt.fyi API.
Installation
npm install -g @crypt.fyi/cliUsage
cfyi --help
cfyi encrypt --helpEncrypt with a webhook
Use the same webhook options as the website's advanced settings. The server receives POST notifications at your URL when the configured events occur.
cfyi encrypt "your secret" \
--wh-url https://example.com/hooks/crypt-fyi \
--wh-events read,burn \
--wh-name "CI token"Available events for --wh-events:
read- When the secret is read successfully (default)burn- When the secret is burnedfailed-key- When decryption fails (wrong key or password)failed-ip- When the viewer IP fails the IP allow-list
Multiple events can be specified as a comma-separated list (e.g., read,burn,failed-key).
