Weave documentation
Strand Vault

Storage Backends

Filesystem, memory, and feature-gated storage backends.

Factory and storage layers

VaultConfig.storage_factory is a Box<dyn StorageFactory>. The factory creates Storage, which supplies per-Strand storage and metadata storage. Keep the metadata backend with the Strand data: it contains the vault master key, namespace, authorized-agent records and policy.

BackendBoundary
FileSystemStorageFactory::new(path)Uses the chosen filesystem root; default root is ./strand-vault
MemoryStorage and MemoryStorageFactoryIn-memory data/metadata for isolated use; no disk persistence
RocksDB moduleRequires its Cargo feature and native dependency; use the matching source configuration

VaultConfig defaults to sparse mode, encryption disabled, public reads disabled and no WAL directory. A configuration flag alone is not evidence that a given storage path encrypts every record. Check the selected Strand and metadata implementations when handling private data.

The storage pool limits open handles; it does not replace filesystem capacity planning, backups or independent restore verification.

Source reference

Exact declarations and source provenance · Package features and manifest.

On this page