goateddev

Reference

Environment

  • GENESYSCLOUD_REGION, GENESYSCLOUD_OAUTHCLIENT_ID, GENESYSCLOUD_OAUTHCLIENT_SECRET: the org’s region domain and OAuth client (Client Credentials grant). search and describe need none of them; status, execute, plan and apply report a missing one as a ConfigError before any request.
  • CENTREX_OUTPUT_DIR: the output folder (below). CENTREX_READ_ONLY=1: refuse every write. CENTREX_CATALOG_DIR: a catalog folder other than the package’s.
  • CENTREX_LOGIN_BASE_URL, CENTREX_API_BASE_URL: test-only overrides of the region’s hosts, for a local fake server. They are refused (ConfigError) unless they point at localhost, 127.0.0.1 or [::1], so the client secret and the token can never be sent to another host.

Output folder

Everything Centrex persists lives in ~/Centrex (or CENTREX_OUTPUT_DIR), one private subfolder per org: org.json, plans/ (pending plans; the one an apply is running sits in plans/applying/, applied ones move to plans/applied/, and expired ones to plans/expired/ as soon as status, plan or apply finds them), responses/, flows/ (exported flow files, created by the first export), apply-log.jsonl and, once the model has added a line to it, suspects.md (the org’s local suspects list). Parameters and states in the apply log are redacted by secret field name.