| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:5eaa8ead-8b15-51b7-e1e9-c726a8fbc66a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B88A:35962D:8103:B615:6AFB08B2 |
| html-safe-nonce | 642763352512bbb30be363864baf05171ee4982f225eb8bcb4c8f86062aefdf2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODhBOjM1OTYyRDo4MTAzOkI2MTU6NkFGQjA4QjIiLCJ2aXNpdG9yX2lkIjoiOTE1NjUwNjUyNzQ5NjYwMzgyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 20c65720170efe9179f81df4066fe3f2b311debe0f2bde476a97b8d22259abf9 |
| hovercard-subject-tag | pull_request:4141534083 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/triggerdotdev/trigger.dev/pull/4388/files |
| twitter:image | https://avatars.githubusercontent.com/u/19817302?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/19817302?s=400&v=4 |
| og:image:alt | Summary
Adds the storage model and authorization contracts needed for multiple environment API keys. Credentials are represented by hashed values, revocation and expiration state, and persisted eff... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 76fb13cb43f1834708971f45a9cfcab5df3177a7582086613d7cdc6e98c4bfde |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/triggerdotdev/trigger.dev git https://github.com/triggerdotdev/trigger.dev.git |
| octolytics-dimension-user_id | 95297378 |
| octolytics-dimension-user_login | triggerdotdev |
| octolytics-dimension-repository_id | 572570113 |
| octolytics-dimension-repository_nwo | triggerdotdev/trigger.dev |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 572570113 |
| octolytics-dimension-repository_network_root_nwo | triggerdotdev/trigger.dev |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | afc998826cdd963c8f91a96ae5372809ab5e296b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/triggerdotdev/trigger.dev/pull/4388/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F4388%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F4388%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=triggerdotdev%2Ftrigger.dev |
| Reload | https://github.com/triggerdotdev/trigger.dev/pull/4388/files |
| Reload | https://github.com/triggerdotdev/trigger.dev/pull/4388/files |
| Reload | https://github.com/triggerdotdev/trigger.dev/pull/4388/files |
| triggerdotdev | https://github.com/triggerdotdev |
| trigger.dev | https://github.com/triggerdotdev/trigger.dev |
| Code | https://github.com/triggerdotdev/trigger.dev |
| Issues203 (203) | https://github.com/triggerdotdev/trigger.dev/issues |
| Pull requests67 (67) | https://github.com/triggerdotdev/trigger.dev/pulls |
| Discussions | https://github.com/triggerdotdev/trigger.dev/discussions |
| Actions | https://github.com/triggerdotdev/trigger.dev/actions |
| Projects | https://github.com/triggerdotdev/trigger.dev/projects |
| Security and quality39 (39) | https://github.com/triggerdotdev/trigger.dev/security |
| Insights | https://github.com/triggerdotdev/trigger.dev/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose |
| carderne | https://github.com/carderne |
| main | https://github.com/triggerdotdev/trigger.dev/tree/main |
| feat/multi-keys-foundations | https://github.com/triggerdotdev/trigger.dev/tree/feat/multi-keys-foundations |
|
Conversation
7
| https://github.com/triggerdotdev/trigger.dev/pull/4388 |
|
Commits
6
| https://github.com/triggerdotdev/trigger.dev/pull/4388/commits |
|
Checks
51
| https://github.com/triggerdotdev/trigger.dev/pull/4388/checks |
|
Files changed
| https://github.com/triggerdotdev/trigger.dev/pull/4388/files |
| Please reload this page | https://github.com/triggerdotdev/trigger.dev/pull/4388/files |
|
feat(database,rbac): add multiple environment API key foundations
| https://github.com/triggerdotdev/trigger.dev/pull/4388/files#top |
|
Show all changes
6 commits
| https://github.com/triggerdotdev/trigger.dev/pull/4388/files |
|
af05aea
fix(core,sdk): correct public token expirationTime docs
carderne Jul 27, 2026
| https://github.com/triggerdotdev/trigger.dev/pull/4388/commits/af05aeab8e795a4f71348c687f1e50c15f8d268b |
|
e15a789
feat(database,rbac): add multiple environment API key foundations
carderne Jul 27, 2026
| https://github.com/triggerdotdev/trigger.dev/pull/4388/commits/e15a7893fc235b41d6e8dd775d787b3b7884d813 |
|
0d0f794
refactor(rbac): make API key policy methods optional on the controller
carderne Jul 27, 2026
| https://github.com/triggerdotdev/trigger.dev/pull/4388/commits/0d0f794118453de1c42107b7fa3bba4114e967f3 |
|
51e1189
fix(webapp): use _sk_ additional API key infix
carderne Jul 27, 2026
| https://github.com/triggerdotdev/trigger.dev/pull/4388/commits/51e11890198575312f99ba7b41582f8ffdb20425 |
|
89167bc
add changeset
carderne Jul 27, 2026
| https://github.com/triggerdotdev/trigger.dev/pull/4388/commits/89167bcad26900ac077ca59a5e4ddd75620a340c |
|
3d5d745
delete core changeset
carderne Jul 29, 2026
| https://github.com/triggerdotdev/trigger.dev/pull/4388/commits/3d5d7459b2243e67174b72cf738e217b5763564d |
|
Clear filters
| https://github.com/triggerdotdev/trigger.dev/pull/4388/files |
| Please reload this page | https://github.com/triggerdotdev/trigger.dev/pull/4388/files |
| Please reload this page | https://github.com/triggerdotdev/trigger.dev/pull/4388/files |
|
public-token-expiration-seconds.md
| https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-b0795c435cefc225072c307ad6bb8176230b0dafbab7597cbd3f31c1e7f38a06 |
|
apiKeys.test.ts
| https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-f399e3689293e38cf08689a9e6fc03422c8a9b66dc1a63ac5df6fa20c20d7349 |
|
apiKeys.ts
| https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-76674b79a63ff38f065f95f16a99c6b6864d9a44f453b581b8b325f174b49281 |
|
migration.sql
| https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-230f5592143200ce71b4825337e3fa92e78528bd5a59a5cfb59489454112d837 |
|
schema.prisma
| https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-6b8eefc1da429865c9493bbac9d2c4d00d1cfe2f2231f6474b9692f13b88e419 |
|
ability.test.ts
| https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-6c660c03d28d4c23d32ee4aeb5f50d3bed12a092096394d4559e8ff2fc775a7f |
|
ability.ts
| https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-d6245dbc9bbdd97f589b20daaee53e407f1549c865babded1c0201282548345a |
|
apiKeyPolicyDefaults.test.ts
| https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-6e793eff3043f4754d02d78b8a0e42b243a01d6b7508f3b6786b424572fbe4b3 |
|
fallback.ts
| https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-12041af1e75d07288542adc4af014e6546f84817456dc41516a0eb8b9128ee43 |
|
index.ts
| https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-a62b017cb56eaac99ac79f07b450ff3aa0beebc6bcdc38567d81ce3ec542c478 |
|
jwt.ts
| https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-49be3ed8d9c6d75e2f49ee4779ceaf5a899624bae36f383081b18b5404d4fddb |
|
index.ts
| https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-640d5deb6139bf2c59b759b99f0c2e9e5cb4d3fbaacff57e6097bae6f653bb35 |
|
rbac.ts
| https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-cff56c408c4a87da7b5ffeb381f8670d8853ab09ca3bc20af8cd7e2e71b1b741 |
| .changeset/public-token-expiration-seconds.md | https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-b0795c435cefc225072c307ad6bb8176230b0dafbab7597cbd3f31c1e7f38a06 |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/3d5d7459b2243e67174b72cf738e217b5763564d/.changeset/public-token-expiration-seconds.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/4388/{{ revealButtonHref }} |
| apps/webapp/app/utils/apiKeys.test.ts | https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-f399e3689293e38cf08689a9e6fc03422c8a9b66dc1a63ac5df6fa20c20d7349 |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/3d5d7459b2243e67174b72cf738e217b5763564d/apps/webapp/app/utils/apiKeys.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/4388/{{ revealButtonHref }} |
| apps/webapp/app/utils/apiKeys.ts | https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-76674b79a63ff38f065f95f16a99c6b6864d9a44f453b581b8b325f174b49281 |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/3d5d7459b2243e67174b72cf738e217b5763564d/apps/webapp/app/utils/apiKeys.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/4388/{{ revealButtonHref }} |
| Please reload this page | https://github.com/triggerdotdev/trigger.dev/pull/4388/files |
| ...packages/database/prisma/migrations/20260723112558_add_environment_api_keys/migration.sql | https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-230f5592143200ce71b4825337e3fa92e78528bd5a59a5cfb59489454112d837 |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/3d5d7459b2243e67174b72cf738e217b5763564d/internal-packages/database/prisma/migrations/20260723112558_add_environment_api_keys/migration.sql |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/4388/{{ revealButtonHref }} |
| internal-packages/database/prisma/schema.prisma | https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-6b8eefc1da429865c9493bbac9d2c4d00d1cfe2f2231f6474b9692f13b88e419 |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/3d5d7459b2243e67174b72cf738e217b5763564d/internal-packages/database/prisma/schema.prisma |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/4388/{{ revealButtonHref }} |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-6b8eefc1da429865c9493bbac9d2c4d00d1cfe2f2231f6474b9692f13b88e419 |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-6b8eefc1da429865c9493bbac9d2c4d00d1cfe2f2231f6474b9692f13b88e419 |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-6b8eefc1da429865c9493bbac9d2c4d00d1cfe2f2231f6474b9692f13b88e419 |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-6b8eefc1da429865c9493bbac9d2c4d00d1cfe2f2231f6474b9692f13b88e419 |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-6b8eefc1da429865c9493bbac9d2c4d00d1cfe2f2231f6474b9692f13b88e419 |
| internal-packages/rbac/src/ability.test.ts | https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-6c660c03d28d4c23d32ee4aeb5f50d3bed12a092096394d4559e8ff2fc775a7f |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/3d5d7459b2243e67174b72cf738e217b5763564d/internal-packages/rbac/src/ability.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/4388/{{ revealButtonHref }} |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-6c660c03d28d4c23d32ee4aeb5f50d3bed12a092096394d4559e8ff2fc775a7f |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-6c660c03d28d4c23d32ee4aeb5f50d3bed12a092096394d4559e8ff2fc775a7f |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-6c660c03d28d4c23d32ee4aeb5f50d3bed12a092096394d4559e8ff2fc775a7f |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-6c660c03d28d4c23d32ee4aeb5f50d3bed12a092096394d4559e8ff2fc775a7f |
| internal-packages/rbac/src/ability.ts | https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-d6245dbc9bbdd97f589b20daaee53e407f1549c865babded1c0201282548345a |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/3d5d7459b2243e67174b72cf738e217b5763564d/internal-packages/rbac/src/ability.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/4388/{{ revealButtonHref }} |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-d6245dbc9bbdd97f589b20daaee53e407f1549c865babded1c0201282548345a |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-d6245dbc9bbdd97f589b20daaee53e407f1549c865babded1c0201282548345a |
| internal-packages/rbac/src/apiKeyPolicyDefaults.test.ts | https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-6e793eff3043f4754d02d78b8a0e42b243a01d6b7508f3b6786b424572fbe4b3 |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/3d5d7459b2243e67174b72cf738e217b5763564d/internal-packages/rbac/src/apiKeyPolicyDefaults.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/4388/{{ revealButtonHref }} |
| internal-packages/rbac/src/fallback.ts | https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-12041af1e75d07288542adc4af014e6546f84817456dc41516a0eb8b9128ee43 |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/3d5d7459b2243e67174b72cf738e217b5763564d/internal-packages/rbac/src/fallback.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/4388/{{ revealButtonHref }} |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-12041af1e75d07288542adc4af014e6546f84817456dc41516a0eb8b9128ee43 |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-12041af1e75d07288542adc4af014e6546f84817456dc41516a0eb8b9128ee43 |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-12041af1e75d07288542adc4af014e6546f84817456dc41516a0eb8b9128ee43 |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4388/files#diff-12041af1e75d07288542adc4af014e6546f84817456dc41516a0eb8b9128ee43 |
| Please reload this page | https://github.com/triggerdotdev/trigger.dev/pull/4388/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |