How teamproject-03/vaultlite works
VaultLite is a secrets manager accessed by humans and applications through a CLI or HTTPS API. Its main workflow initializes and unseals the vault, authorizes a token and path, then encrypts or decrypts versioned secrets persisted in SQLite; operations are audited. The graph also preserves the documented share-based key lifecycle, key and secret rotation, token policies, and signed audit verification. Relationships are limited to calls indicated by excerpts or the source index, or explicitly documented by the README; unsampled CLI and TLS internals are not inferred.
Main entry points: server.py HTTPS API · seal.py Seal lifecycle · rotation.py Key rotation · storage.py SQLite storage
Components 14
Clients and API
- CLI client
vaultlite/cli.py - HTTPS API
vaultlite/api/server.py
Access control
- Token authentication
vaultlite/api/auth.py - Path policies
vaultlite/api/policies.py
Vault lifecycle
- Seal lifecycle
vaultlite/core/seal.py
Cryptographic services
- Shamir shares
vaultlite/crypto/shamir.py - Keyring and check
vaultlite/crypto/keyring.py - Envelope encryption
vaultlite/crypto/envelope.py - Key rotation
vaultlite/crypto/rotation.py - Crypto errors
vaultlite/crypto/errors.py - Signing primitives
vaultlite/crypto/signing.py
Persistence and audit
- SQLite storage
vaultlite/core/storage.py - Audit log
vaultlite/core/audit.py
Other components
- Human or app
Connections 22
- Human or app → CLI client: runs commands
README.md - CLI client → HTTPS API: calls over HTTPS
README.md - HTTPS API → Token authentication: authenticates requests
vaultlite/api/server.py - Token authentication → Path policies: checks permissions
vaultlite/api/auth.py - Token authentication → SQLite storage: reads and writes tokens
vaultlite/api/auth.py - HTTPS API → Seal lifecycle: controls vault lifecycle
vaultlite/api/server.py - HTTPS API → SQLite storage: reads and writes secrets
vaultlite/api/server.py - HTTPS API → Envelope encryption: encrypts and decrypts
vaultlite/api/server.py - HTTPS API → Audit log: records operations
vaultlite/api/server.py - Seal lifecycle → SQLite storage: persists key metadata
vaultlite/core/seal.py - Seal lifecycle → Shamir shares: splits and combines keys
vaultlite/core/seal.py - Seal lifecycle → Keyring and check: opens and seals KEK
vaultlite/core/seal.py - Seal lifecycle → Key rotation: performs rotations
vaultlite/core/seal.py - Seal lifecycle → Signing primitives: wraps signing key
vaultlite/core/seal.py - Audit log → SQLite storage: reads and appends entries
vaultlite/core/audit.py - Audit log → Signing primitives: hashes and verifies entries
vaultlite/core/audit.py - Key rotation → Envelope encryption: rewraps data keys
vaultlite/crypto/rotation.py - Key rotation → Keyring and check: rewraps vault key
vaultlite/crypto/rotation.py - Key rotation → Shamir shares: issues replacement shares
vaultlite/crypto/rotation.py - Envelope encryption → Crypto errors: raises decryption errors
vaultlite/crypto/envelope.py - Keyring and check → Crypto errors: raises key errors
vaultlite/crypto/keyring.py - Shamir shares → Crypto errors: raises share errors
vaultlite/crypto/shamir.py