Skip to content

PersistentAI API Documentation / @persistent-ai/fireflow-trpc / server / initializeVault

Function: initializeVault()

initializeVault(db): VaultService

Defined in: packages/fireflow-trpc/server/vault/index.ts:24

Initialize the vault service with the native FireFlow provider. Throws if VAULT_MASTER_KEY or VAULT_SALT environment variables are not set.

Generate values with: openssl rand -hex 32

Parameters

db

NodePgDatabase<Record<string, unknown>>

Returns

VaultService

Licensed under BUSL-1.1