Oko/Docs

Command reference

oko proxy sign

The three agent headers Oko signs a request with — id, signature and timestamp — for a body and a time, so another process can present Oko's identity to Brama.

Invocation#

Command
oko proxy sign --ts UNIX --body TEXT

Inputs and options#

  • --ts, unix seconds; --body, the exact request body (`--body ""` for an empty one).

Output and state effect#

  • Prints `x-agent-id`, `x-agent-signature` and `x-agent-timestamp`.

Refusals and safe exits#

  • `missing/invalid --ts (unix seconds)`; `missing --body (use --body "" for empty)`; the identity refusals of `oko gateway check`.

CLI reference#