oz0 secret export-to-sealed

Replace the tenant's secret store references with sealed secrets, so a store can be taken away.

For: Operators and developers looking up a command.

Replace the tenant's secret store references with sealed secrets, so a store can be taken away.

An edge reads each reference (of one store with --store) from its store, seals the value to the cluster's secrets key and replaces the reference with it, if the secret still holds that reference. Each is audited (secret.exported) without its value; the reference is kept for 24 hours, so "oz0 secret rollback" brings it back. --dry-run reads each one and says what would happen. The CLI's context must reach an edge that runs the stores.

Usage

oz0 secret export-to-sealed [flags]

Flags

FlagTypeDefaultDescription
--dry-runboolread each reference and say what would happen, changing nothing
--jsonboolprint JSON instead of a table
--storestringonly the references into this store

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
--tenantstringdefaulttenant

See all oz0 commands and the global flags.

On this page
Copyright © 2026