CLI reference / host / local / audit

stado host local audit

Invocation

stado host local audit [OPTIONS] --backup <BACKUP> --primary <PRIMARY> --namespace <NAMESPACE> --reclaim <RECLAIM> --apply <APPLY>

Purpose

The host half of `stado credentials backup audit`: classify this host's replica against its primary store and, with --reclaim true --apply true, delete the twins this pass proved. Prints the marker lines the operator side reads

Required inputs and options

Input or optionContract
--backup <BACKUP>Command option; required or optional as shown in the invocation.
--primary <PRIMARY>Command option; required or optional as shown in the invocation.
--namespace <NAMESPACE>Command option; required or optional as shown in the invocation.
--reclaim <RECLAIM>yes/no (any of clap's boolish spellings) [possible values: true, false]
--apply <APPLY>[possible values: true, false]
--objects-hex <OBJECTS_HEX>Exact object paths, each hex-encoded, comma separated [default: ""]
--inventory-namespaces-hex <INVENTORY_NAMESPACES_HEX>Namespaces to inventory, each hex-encoded, comma separated [default: ""]

Output and state effect

It performs the operation described above and emits its operator result on standard output or standard error. Any state change is limited to the resources and records named by the purpose and options on this page.

Refusals

  • Before dispatch, Stado refuses a missing required token shown in the invocation, an unknown option, or a value outside a listed value set; argument-usage failures exit with code 2.