Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/cli / / runStorageEncrypt

Function: runStorageEncrypt()

ts
function runStorageEncrypt(options): Promise<StorageEncryptResult>;

Defined in: packages/cli/src/commands/storage.ts:166

graphorin storage encrypt --passphrase-from <ref> — encrypt a previously unencrypted SQLite store. Delegates to the optional Phase 16 sub-pack @graphorin/store-sqlite-encrypted once installed; when the sub-pack is missing the CLI exits 2 (UNSUPPORTED) with an actionable hint.

Parameters

ParameterType
optionsStorageEncryptOptions

Returns

Promise&lt;StorageEncryptResult&gt;

Stable