| title | decree schema |
|---|
Manage configuration schemas
Create, list, publish, import/export, and delete configuration schemas. Schemas define the allowed fields, types, and constraints for tenant configurations.
-h, --help help for schema
--insecure disable TLS (plaintext); for local development only
-o, --output string output format: table, json, yaml (default "table")
--role string actor role (x-role header) (default "superadmin")
--server string gRPC server address (default "localhost:9090")
--subject string actor identity (x-subject header)
--tenant-id string auth tenant ID (x-tenant-id header)
--token string JWT bearer token (prefer DECREE_TOKEN env var to avoid shell history exposure)
--token-file string path to a file containing the JWT bearer token (takes precedence over --token)
--wait wait for the server to be ready before executing the command
--wait-timeout string maximum time to wait for server readiness (default "60s")
- decree - OpenDecree CLI
- decree schema delete - Delete a schema and all its versions (cascades to tenants)
- decree schema export - Export a schema to YAML
- decree schema get - Show a schema
- decree schema import - Import a schema from a YAML file
- decree schema list - List all schemas
- decree schema publish - Publish a schema version (makes it immutable and assignable to tenants)