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

CLI / key / export

kosa8 key export

Write the active KEK to a file, to import on another machine

Usage#

kosa8 key export -o FILE

Writes the active KEK in hex to FILE (mode 0600). Whoever holds it can open every snapshot encrypted on this machine, so carry it the way the organization carries key material, import it, and wipe the file. A hardware provider, when available, makes this step unnecessary.

Options#

FlagTypeWhat it doesDefault
-o, --outputstringfile to write the key to (must not exist)—

Example#

  kosa8 key export -o kek.bin

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