checkfu deploy again for the same stage; deploy keeps the stage’s API key and stops if the change would delete or replace existing resources.
The CLI saves the API key and provider settings per stage. It does not save jurisdiction, location hint, custom hostnames, publish domain, idle timeout, or webhook egress settings, so export those same values on every deploy.
If you already deployed a stage, exporting a different
CHECKFU_API_KEY in your shell causes checkfu deploy to stop rather than rotate the key. Unset CHECKFU_API_KEY or match the saved key when updating.
Jurisdiction
Custom hostnames
SettingCHECKFU_API_DOMAIN or CHECKFU_MCP_DOMAIN attaches that hostname and detaches every other custom hostname on the Worker, including ones added in the Cloudflare dashboard. Setting a domain variable to none detaches all custom hostnames; leaving it empty or unset leaves existing hostnames alone. Every custom zone must belong to the Cloudflare account you deploy to, and the workers.dev addresses keep working.
If you set CHECKFU_PUBLISH_DOMAIN, it must be a zone apex, and you must also set both CHECKFU_API_DOMAIN and CHECKFU_MCP_DOMAIN explicitly, each to a hostname outside CHECKFU_PUBLISH_DOMAIN or to none. Leaving either empty fails the deploy.