What belongs at the enterprise level
Navigate to Enterprise Settings > Environment (or click “Enterprise-wide setup” from any org’s Environment Settings page). The YAML format is identical to org and repo-level configuration — the sameinitialize, maintenance, and knowledge sections apply.
| Use case | Enterprise | Org-wide | Repo-level |
|---|---|---|---|
| VPN / network access | ✓ | ||
| CA certificates | ✓ | ||
| Proxy configuration | ✓ | ||
| DNS overrides | ✓ | ||
| GPG commit signing | ✓ | ||
| Shared language runtimes | ✓ | ||
| Org-wide CLI tools | ✓ | ||
| Private registry auth | ✓ | ||
| Repo dependencies | ✓ | ||
| Repo-specific test/lint | ✓ |
Enterprise-level configuration cannot clone repositories — repository cloning requires org-level access. Use enterprise config for shared infrastructure only (VPN, certificates, tools). Repo cloning is handled automatically at the org level.
Enterprise permissions
| Action | Required role |
|---|---|
| View/edit enterprise config | Enterprise Admin |
| View/edit org config | Org Admin or Enterprise Admin |
| View repo config | Any org member |
| Edit repo config | Member with ManageOrgSnapshots permission |
Build cascading
When you change enterprise configuration:- A new build is triggered for every organization
- Each org’s build includes: enterprise config → org config → all repo configs
- Builds run independently per org — one org’s failure doesn’t affect others
- Each org gets its own machine image
Order matters for enterprise
initialize steps. VPN must come first (so internal hosts are reachable), then DNS (so names resolve), then certificates (so HTTPS works), then proxy (so traffic routes correctly), and finally any tools that download from internal sources.Multi-organization management
Recommended setup order:- Enterprise config first — set up shared infrastructure (VPN, certs, proxy)
- Org-wide config second — each org admin configures shared tools and registry access
- Repo-specific config last — teams configure their individual repositories
Enterprise migration
For enterprises migrating from the legacy interactive setup to declarative configuration:- Configure the enterprise-level YAML first — shared infrastructure like VPN, certificates, and proxy settings.
- Migrate one org at a time. Each org has its own “Use legacy machine snapshot” toggle, so you can migrate progressively without affecting other teams.
- Consider a test org. For large enterprises, create a dedicated test organization to validate the declarative configuration before rolling out to production orgs.
- Use Devin for scale. Devin can configure repos via parallel sessions — launch one session per repo and Devin will auto-generate configuration proposals. This works well for onboarding 10–100+ repos.
Next steps
- Enterprise examples — VPN, CA certificates, proxy, DNS, GPG signing, and more
- Environment Configuration — main guide for writing your config
- VPN Configuration — detailed VPN setup instructions
