Skip to content

Bindings file

The bindings file names each secret and Integration a Startup reads, per environment; values live in the platform, never in the repository.

PropertyValue
Pathenv.ts
HoldsSetting
Kindfile
Leadersdb-first, git-first
TeamEngineering Team
Written byChange.merge
Compiled bySoftwareBuilder

Example

env.ts in a Startup repository.

env.ts
import { env, integration, secret } from 'startup-builder'

export default env({
  RATES_API_KEY: secret(),
  github: integration('github', { scope: 'startup' }),
})

Exports

ExportKindType
defaultdefaultEnv

Signature

TypeScript
env(bindings: Record<string, Secret | Integration>): Env

Generates

SoftwareBuilder compiles it into these records, Verbs and routes.

KindWhat
RecordsSecret, Integration, Setting
VerbsNone.
RoutesNone.