Skip to main content

Module commands

Module commands 

Source
Expand description

The commands other than serve: tenants, keys and the audit logs. Each takes the data directory as its work shares it, opens the registry with recovery when it runs alone and without when it may run beside a server, and prints what the matching admin route answers: one JSON object a line.

Enums§

Command
A command, as written on the command line.
CommandError
Why a command did not complete.
Log
Which audit log audit export writes.
Owner
Whose key key create makes.

Functions§

problems
What in one tenant’s examination needs the operator. A stalled sweep is one whose oldest due version has waited longer than purge_interval; a shorter wait is the next sweep’s work. Packed versions are a problem when the configuration has no [storage.parquet] (parquet false), since serve then refuses to start. Leftover files and work waiting for rotation are reported but are not problems.
run
Runs command against the data directory config names, writing its answer to out.