Corteza CLI
Corteza command-line interface tool allows you to quickly interact with different parts of the system — from changing the settings to assigning roles to users.
Authentication
External authentication
Auto discovery
Auto discovers new OIDC client
Usage:
corteza-server auth auto-discovery [name] [url] [flags]
Flags:
--enable Enable this provider and external auth
-h, --help help for auto-discovery
--skip-validation Skip validation
Import
Import data from yaml sources.
Usage:
corteza-server import [flags]
Flags:
-h, --help help for import
--merge-left-existing Update any existing values; existing data takes priority. Default skips.
--merge-right-existing Update any existing values; new data takes priority. Default skips.
--replace-existing Replace any existing values. Default skips.
Provision
Provision tasks
Usage:
corteza-server provision [flags]
Flags:
-h, --help help for provision
Serve api
Start HTTP server with REST API
Usage:
corteza-server serve-api [flags]
Aliases:
serve-api, serve
Flags:
-h, --help help for serve-api
Sink signature
Creates signature for sink HTTP endpoint
Usage:
corteza-server sink signature [flags]
Flags:
--content-type string Content type (optional)
--expires string Date of expiration (YYYY-MM-DD, optional)
-h, --help help for signature
--max-body-size int Max allowed body size
--method string HTTP method that will be used (optional)
--origin string Origin of the request (arbitrary string, optional)
--path string Full sink request path (do not include /sink prefix, add / for just root)
--signature-in-path Include signature in a path instead of query string
Users
User management
Add user
Add new user
Usage:
corteza-server users add [email] [flags]
Flags:
-h, --help help for add
--no-password Create user without password
Federation sync
There are two commands to handle federation sync:
-
data sync,
-
structure sync.
The two commands (corteza-server sync data
and corteza-server sync structure
) force the background watcher to run.
Usage:
corteza-server sync [command]
Available Commands:
data Sync data
structure Sync structure
Flags:
-h, --help help for sync