AMPCrypt CLI Tools & Terminal Automation

Automate Zero-Trust Encryption in Terminal & CI/CD

Integrate client-side AES-256 encryption and SSS key splitting directly into shell scripts, GitHub Actions, and database backup routines.

$ npm install -g @ampcrypt/cli

CLI Command Reference

Standard commands for command-line workflows

1. Install AMPCrypt CLI
npm install -g @ampcrypt/cli

Install globally using NPM or Node package managers.

2. Encrypt File or Directory
ampcrypt encrypt --input ./secret-data.zip --out ./encrypted.amp --passphrase 'MyPass123!'

Encrypts payload using AES-256-GCM and generates AMPCrypt binary header.

3. Split Master Key (Shamir Secret Sharing)
ampcrypt sss-split --secret 'MyMasterSecret' --shares 5 --threshold 3

Generates 5 threshold key shares where any 3 can reconstruct the secret.

4. Decrypt Payload
ampcrypt decrypt --input ./encrypted.amp --out ./restored.zip --passphrase 'MyPass123!'

Authenticates ciphertext MAC and restores original file contents.