CLI Reference

Sietch is designed with a CLI-first approach, providing a comprehensive command set for managing your encrypted vaults in any environment. This reference documents all available commands, their options, and practical examples.


Core Commands Overview

Vault Management

init, recover, verify, manifest - Commands for creating and maintaining vaults

File Operations

add, extract, decrypt, list - Commands for working with files in your vault

Sync & Discovery

sync, discover, peer - Commands for vault synchronization and peer management

Security

keys - Commands for encryption key management and security operations


Vault Management

sietch init

Creates a new encrypted vault with specified settings.

Bash
$sietch init --name spice-vault --encrypt aes256
Click to copy

Options:

OptionTypeDefaultDescription
--namestringName of the vault (user-friendly identifier)
--pathstringCurrent dirLocation to create the vault
--key-typestringaesEncryption type: aes, gpg, or none
--passphraseflagPrompt for passphrase to protect AES key
--chunking-strategystringfixedChunking strategy: fixed or cdc
--chunk-sizestring4MBSize of chunks (e.g., 2MB)
--compressionstringnoneCompression: none, gzip, or zstd
--hashstringsha256Hash algorithm: sha256 or blake3
--interactiveflagUse interactive prompt mode
--from-configstringInitialize from existing config file

Examples:

basic setup
sietch init --name desert-cache
custom vault
sietch init --name research-vault
--chunking-strategy cdc
--chunk-size 2MB
--key-type gpg
interactive mode
sietch init --interactive