Skip to main content
The item subcommands operate against the active profile.

abadge item add

Create a new item interactively.
Fields not provided via flags are prompted interactively (the value prompt is echo-masked). For zero-knowledge items, the daemon must be unlocked. The CLI:
  1. Generates a 32-byte DEK locally.
  2. Encrypts the payload with the DEK (XChaCha20-Poly1305).
  3. Wraps the DEK with the profile root key (XChaCha20-Poly1305).
  4. Sends encryptedItemKey and ciphertext to POST /v1/items.
For server-managed items, the CLI sends the plaintext payload to POST /v1/items and the API encrypts with AES-256-GCM.

abadge item list

Lists items in the active profile. Metadata only — never returns secret values.

abadge item get <id>

Fetch a single item.

abadge item update <id>

Update an item interactively. Optimistic concurrency rejects stale edits with STALE_VERSION.

abadge item rm <id>

Soft-delete the item. Ciphertext is retained but inaccessible; permissions cascade-deny.
--force skips the confirmation prompt.

Storage modes

The mode is fixed at creation and inherited from the profile.