CipherStashDocs
ReferenceCLI

stash schema

Reference for the `stash schema` commands.

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 schema command group.

schema build

Build an encryption schema from your database

npx stash schema build [flags]

Flags

FlagDescription
--supabaseUse Supabase-compatible mode.
--database-url <url>Database URL for this run only — never written to disk. Highest precedence in the resolution order: --database-url flag → DATABASE_URL env → supabase status → interactive prompt. A stash.config.ts is not a separate tier (its default databaseUrl re-runs this same chain); a hand-set literal databaseUrl in the config bypasses the resolver and wins over all of these. (env: DATABASE_URL)

On this page