oz0 audit key rotate

Retire the live audit key and make a new one at once, or with --gateway retire the gateway keys: each edge makes a new one within minutes.

For: Operators and developers looking up a command.

Retire the live audit key and make a new one at once, or with --gateway retire the gateway keys: each edge makes a new one within minutes. Cluster admins may; it is audited (audit.key.rotated). Retired keys keep their public half, so what they signed still verifies.

Usage

oz0 audit key rotate [flags]

Flags

FlagTypeDefaultDescription
--gatewayboolretire the gateway keys instead of the audit key
--jsonboolprint JSON instead of a table

Inherited flags

FlagTypeDefaultDescription
--contextstring$OZ0_CONTEXT or <config dir>/orchestrator-zero/context.jsonCLI context file written by server init
--log-levelstringinfolog level: debug, info, warn or error

See all oz0 commands and the global flags.

On this page
Copyright © 2026