CipherStashDocs
ReferenceCLI

CLI

Command reference for the stash CLI, generated from v1.0.0.

Generated from stash v1.0.0 via npx [email protected] manifest --json. Run npx [email protected] --help to see the live command surface.

The stash CLI. Install with npx [email protected]. Every command accepts --help and --version.

Setup & workflow

CommandDescription
initInitialize CipherStash for your project
planDraft a reviewable encryption plan at .cipherstash/plan.md
implExecute the plan with a local agent
statusDisplays implementation status
wizardAI-guided encryption setup (reads your codebase)
doctorDiagnose install problems (native binaries, runtime)
manifestPrint the structured, versioned command surface
telemetryManage anonymous usage analytics

Auth

CommandDescription
auth loginAuthenticate with CipherStash
auth regionsList the regions you can authenticate against

EQL

CommandDescription
eql installScaffold stash.config.ts (if missing) and install EQL extensions
eql migrationGenerate an EQL v3 install migration for your ORM (Drizzle; Prisma Next installs EQL through its own migrations)
eql repairRepair migrations drizzle-kit generated with an un-runnable ALTER COLUMN to an encrypted type
eql upgradeUpgrade EQL extensions to the latest version
eql statusShow EQL installation status

Database

CommandDescription
db validateValidate encryption schema
db migrateRun pending encrypt config migrations (not yet implemented)
db test-connectionTest database connectivity

Schema

CommandDescription
schema buildBuild an encryption schema from your database

Encrypt

CommandDescription
encrypt statusShow per-column migration status (phase, progress, drift)
encrypt planDiff intent (.cipherstash/migrations.json) vs observed state
encrypt backfillResumably encrypt plaintext into the encrypted column
encrypt dropGenerate a migration to drop the plaintext column

Deployment

CommandDescription
envMint deployment credentials and print them as env vars

On this page