oz0 tenant oidc publish

Usage and flags for oz0 tenant oidc publish.

For: Operators and developers looking up a command.

For a cluster whose edges the internet cannot reach: the edges' public address (--public-edge-url) names a web server or bucket the clouds can reach, and this copies the tenant's discovery document and key set there, under the issuer's path (oidc/<tenant>/.well-known/openid-configuration and oidc/<tenant>/jwks.json). --to is a folder a web server serves, or s3://bucket[/prefix][?region=R&endpoint=URL] with credentials from the AWS_* variables or --credentials-file, never the command line.

The key set holds the next key ahead of a rotation; publish again after every rotation, before the next one, and at once after an emergency rotation, whose new key is in no published set. Nothing is sent anywhere until you run this.

Usage

oz0 tenant oidc publish <tenant> --to <folder | s3://bucket/prefix> [flags]

Flags

FlagTypeDefaultDescription
--credentials-filestringthe AWS_* variablesan AWS shared credentials file for an s3:// target
--dry-runboolcheck the documents and say where they would go, without writing
--fromstringthe CLI context's edge APIthe edge to read the documents from, https://<edge>:<port>
--tostringa folder a web server serves, or s3://bucket[/prefix][?region=R&endpoint=URL&path-style=true]

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