rekor attachments

Manage record attachments

Subcommands

rekor attachments upload <record_type> <id>

Get a presigned upload URL for a record attachment. With --file, uploads the file content in one step.

  • --filename <name> — File name or path (e.g. docs/guide.md)
  • --content-type <type> — MIME type
  • --file <path> — Local file to upload (skips presigned URL output, uploads directly)

rekor attachments url <record_type> <id>

Get a download URL for an attachment by filename

  • --filename <name> — File name or path (e.g. docs/guide.md)

rekor attachments list <record_type> <id>

List attachments for a record

  • --prefix <path> — Filter by path prefix (e.g. docs/)

rekor attachments delete <record_type> <id> <attachment-id>

Delete an attachment

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