Auth gates the whole stage. authMode is the only switch. For each vip stage, the deploy installs the VIP key with the GitHub OIDC token of the job. CSD_VIP_URL picks the VIP. On this host staging is vip and sits behind the VIP login. Production stays none and is public.
Config is csd.config.json. schemaVersion is 1. On a site, apexDomain is required, certArn and zoneId are optional, and project is optional. framework is next or nuxt. A service requires project and does not take apexDomain, certArn, zoneId, waf, or framework. region defaults to us-east-1. On a site, stageOverrides accepts authMode and waf on every stage, and hostname and redirectHosts on production only. A branch override is rejected. The GitHub Environment is named after the stage. There is no domains key. redirects, staticBucketAdmins, and failover are static only.