kosa8 docs Dashboard
esc
↑ ↓ move↵ openRuns in your browser; nothing you type is sent anywhere.

CLI / snapshot / encrypt

kosa8 snapshot encrypt

Encrypt a snapshot at rest and wipe its plaintext

Usage#

kosa8 snapshot encrypt SNAPSHOT

Encrypts every artifact of the snapshot — saved memory and disk clones — with AES-256-GCM under a data key of its own, wrapped by this machine's key-encryption key (kosa8 key status), then overwrites and deletes the plaintext. Restoring it decrypts transparently. Deleting it destroys the data key, which makes every copy of it unreadable (crypto-shred).

Encrypting is not sealing. A sealed snapshot carries a signature over its files (kosa8 snapshot seal), and encrypting it would change every one of them, so it is refused: encrypt first, then seal.

Example#

  kosa8 snapshot encrypt before-upgrade

The kosa8 weekly

Agent security news, one industry deep-dive and a hands-on challenge, every Monday. Unsubscribe in one click.

© 2026 kosa8 · kosa8.com · Zero Trust cybersecurity infrastructure for AI agents · Local models served by llamay · Agent gateway: MAQPNA