Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pkgs/fleet/docs/verbs.md
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,8 @@ Full contract: [`fleet cert`](../book/reference/cert.md).
| `fleet kv restore --archive` | Adopt this session's last archive checkpoint as new local writes queued to sweep; keys with local history keep it; no checkpoint is `archive_not_found`. |
| `fleet kv namespace define NS (--shared SCOPE \| --private)` | Operators: define NS on central, or update it (`--global-flag`, `--blob-threshold BYTES` up to 1 MiB). Needs the door's `kv-admin` role and never opens the local store. Defining again keeps unchanged settings and raises the policy epoch; changing shared to private or back is refused with `namespace_scope_change`. Hosts see it after their next `sync`. |
| `fleet kv namespace list` | Operators: one line per central namespace, `NS<TAB>SCOPE<TAB>EPOCH<TAB>THRESHOLD<TAB>global\|-`, where SCOPE is `shared:ID` or `private`. |
| `fleet kv grant list GROUP` | Operators: one line per grant row for GROUP, `GROUP<TAB>DB<TAB>NS<TAB>OPS<TAB>EPOCH`, where OPS is a comma-separated subset of `read,write,delete`. A group with no grant rows is refused with `unknown_group`. Needs the central store and the hosted door's `kv-admin` role; never opens a local store. |
| `fleet kv grant revoke GROUP DB NS` | Operators: remove GROUP's grant for NS in DB; prints `revoked group=GROUP database=DB namespace=NS`. An ungranted namespace refuses `namespace_not_granted`, and revoking the group's last grant dissolves the group. This verb never creates a grant row — admitting a grant stays with the kv-admin door statement (`grants.upsert`). |
| `fleet kv grant list GROUP` / `fleet kv grant revoke GROUP DB NS` | Operators: verbs over a group's central grants; needs the central store and the door's `kv-admin` role and never opens the local store. `list` prints one line per grant row (`GROUP<TAB>DB<TAB>NS<TAB>OPS<TAB>EPOCH`); a group with no grant rows is refused with `unknown_group`. `revoke` removes GROUP's grant for NS in DB and prints `revoked group=GROUP database=DB namespace=NS`; an ungranted namespace refuses `namespace_not_granted`, and revoking the group's last grant dissolves the group. This verb never creates a grant row — admitting a grant stays with the kv-admin door statement (`grants.upsert`). |
| `fleet kv blob gc JUR/TIER [--grace-ms MS] [--purge]` | Operators: one central GC pass over a blob partition. Marks published blobs no key references, clears marks that gained a reference, and fences the delete of each candidate unreferenced for the grace (default 24 hours). `--purge` then has the blob door remove the bytes of deleted blobs no published row names. Needs `kv-admin`; never opens the local store. Prints `partition=JUR/TIER marked=N cleared=N deleted=N`, `deleted content=DIGEST epoch=N` per delete, and with `--purge` `purged content=DIGEST` lines and `purged=N released=N`. |

Expand Down