rekor files

Manage files (path-addressed, versioned content) within a file type

Subcommands

rekor files put <file_type> <path>

Upload a local file to a path (e.g. rekor files put reports q3/summary.pdf --file ./summary.pdf)

  • --file <local> — Local file to upload
  • --content-type <type> — MIME type
  • --metadata <json> — Structured metadata, JSON (inline or @filename)
  • --if-match <sha256> — Compare-and-set: upload only if the current content hash matches

rekor files get <file_type> <path>

Download a file (or --meta for metadata only)

  • --output <local> — Local file to save to (defaults to the file basename)
  • --meta — Print metadata JSON instead of downloading the content

rekor files list <file_type>

List files by path prefix

  • --prefix <path> — Path prefix filter (e.g. q3/)
  • --depth <n> — Max folder depth below the prefix (1 = immediate children)
  • --limit <n> — Max results
  • --offset <n> — Pagination offset

rekor files mv <file_type> <from> <to>

Rename/move a file (the blob is untouched)

rekor files rm <file_type> <path>

Delete a file

  • -y, --yes — Skip confirmation prompt
files — Rekor