René's URL Explorer Experiment


Title: feat(cli,webapp): allow deploys with environment API keys by carderne · Pull Request #4561 · triggerdotdev/trigger.dev · GitHub

Open Graph Title: feat(cli,webapp): allow deploys with environment API keys by carderne · Pull Request #4561 · triggerdotdev/trigger.dev

X Title: feat(cli,webapp): allow deploys with environment API keys by carderne · Pull Request #4561 · triggerdotdev/trigger.dev

Description: Summary trigger deploy can authenticate directly with TRIGGER_SECRET_KEY, including restricted environment API keys. API key credentials take precedence over user authentication and work for standard, native, and Preview deployments without login or user metadata. Design Project environment bootstrap now echoes the exact environment key presented by the caller instead of exchanging an additional key for the root key. User token behavior and permission checks remain unchanged. Preview branch creation accepts environment API keys with write:branches, restricted to the key's own project and parent Preview environment. Deploy links remain available without user metadata, while deployment attribution stays optional.

Open Graph Description: Summary trigger deploy can authenticate directly with TRIGGER_SECRET_KEY, including restricted environment API keys. API key credentials take precedence over user authentication and work for standa...

X Description: Summary trigger deploy can authenticate directly with TRIGGER_SECRET_KEY, including restricted environment API keys. API key credentials take precedence over user authentication and work for standa...

Opengraph URL: https://github.com/triggerdotdev/trigger.dev/pull/4561

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllerpull_requests
route-actionfiles
fetch-noncev2:98966e33-2b5a-0912-fb3e-5caf9568a04c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAE08:191BB2:83F11:BCA25:6AFAF16C
html-safe-nonce595564b6d8e55aa89c416131b473e15df23353630f178ab1a46d1775b9bfb140
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTA4OjE5MUJCMjo4M0YxMTpCQ0EyNTo2QUZBRjE2QyIsInZpc2l0b3JfaWQiOiIzNjczMDQyODQ3Nzg0NDMxOTgwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac0e3a6f572bb5d23e648b86647062b8d9d620b74f86d9406823c71f00d7b32ad1
hovercard-subject-tagpull_request:4246076540
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/triggerdotdev/trigger.dev/pull/4561/files
twitter:imagehttps://avatars.githubusercontent.com/u/19817302?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/19817302?s=400&v=4
og:image:altSummary trigger deploy can authenticate directly with TRIGGER_SECRET_KEY, including restricted environment API keys. API key credentials take precedence over user authentication and work for standa...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None0178036d8230524a18422872393ab7e708443ae4c2047f758560a2db870c1913
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/triggerdotdev/trigger.dev git https://github.com/triggerdotdev/trigger.dev.git
octolytics-dimension-user_id95297378
octolytics-dimension-user_logintriggerdotdev
octolytics-dimension-repository_id572570113
octolytics-dimension-repository_nwotriggerdotdev/trigger.dev
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id572570113
octolytics-dimension-repository_network_root_nwotriggerdotdev/trigger.dev
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea85e96a83bed7871993e6b1ffda24105928eee17
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/triggerdotdev/trigger.dev/pull/4561/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F4561%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F4561%2Ffiles
Sign uphttps://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
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/4561/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/4561/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/4561/files
triggerdotdevhttps://github.com/triggerdotdev
trigger.devhttps://github.com/triggerdotdev/trigger.dev
Codehttps://github.com/triggerdotdev/trigger.dev
Issues203 (203)https://github.com/triggerdotdev/trigger.dev/issues
Pull requests67 (67)https://github.com/triggerdotdev/trigger.dev/pulls
Discussionshttps://github.com/triggerdotdev/trigger.dev/discussions
Actionshttps://github.com/triggerdotdev/trigger.dev/actions
Projectshttps://github.com/triggerdotdev/trigger.dev/projects
Security and quality39 (39)https://github.com/triggerdotdev/trigger.dev/security
Insightshttps://github.com/triggerdotdev/trigger.dev/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose
cardernehttps://github.com/carderne
mainhttps://github.com/triggerdotdev/trigger.dev/tree/main
feat/cli-deploy-api-keyhttps://github.com/triggerdotdev/trigger.dev/tree/feat/cli-deploy-api-key
Conversation 25 https://github.com/triggerdotdev/trigger.dev/pull/4561
Commits 8 https://github.com/triggerdotdev/trigger.dev/pull/4561/commits
Checks 51 https://github.com/triggerdotdev/trigger.dev/pull/4561/checks
Files changed https://github.com/triggerdotdev/trigger.dev/pull/4561/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4561/files
feat(cli,webapp): allow deploys with environment API keys https://github.com/triggerdotdev/trigger.dev/pull/4561/files#top
Show all changes 8 commits https://github.com/triggerdotdev/trigger.dev/pull/4561/files
1360422 feat(cli,webapp): allow deploys with environment API keys carderne Aug 10, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4561/commits/1360422bd4d01cc889b5547e4dec4587d258158b
e441a06 refactor(webapp): share scoped API key authentication carderne Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4561/commits/e441a06a0cbd0e6c713ee1b149734bdbb578a3eb
6a8a129 improve cli error handling carderne Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4561/commits/6a8a1295cefdfef8bf7d4b6272b9d8673ca69df5
e4e134a format carderne Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4561/commits/e4e134a35c150f9b23324adfa2f72b9415724f0a
fd8bf06 fix delete preview branches and api url fallback carderne Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4561/commits/fd8bf063fe6f24bb36067088b9eb8e178f11ba27
b84c228 use TRIGGER_ACCESS_TOKEN carderne Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4561/commits/b84c22852458a1df2353a73d211e9c6a65e8b97a
bb55c9d fix(webapp): scope archive API key auth to the key's own project carderne Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4561/commits/bb55c9d95807f6fd36a6e523a4fc9e983882d88e
4a0506f format carderne Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4561/commits/4a0506f46d71ccf1dce426c5a0cd13ccd17a235c
Clear filters https://github.com/triggerdotdev/trigger.dev/pull/4561/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4561/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4561/files
deploy-api-keys.md https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-ee55f47521f795aec8ab90ded397a29cf91523a9f7606eb8b50e9f46d5f650ed
route.tsx https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-12d3653fba81ef30ade161658ba9101681d158ab6e4df33deea42ce806efe973
api.v1.projects.$projectRef.$env.ts https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-14ba9fc63c54b4ef4ec531369413559d21dc47face45ec53657cef0dee6e7bce
api.v1.projects.$projectRef.branches.archive.ts https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-73e084355d9398a12893a368e4c3def837a2fb29483fb876d05b4a7532702c84
api.v1.projects.$projectRef.branches.ts https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-e2e8e432468e5aadaa1e8e06f8bde8f333f40fe3beee76e4db226f88855acfb9
apiAuth.server.ts https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-f3fe33554c3f9d3ab42b8e5dd91b1a19389f1156fe42a8980dcc2b057938e192
authTelemetry.server.ts https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-366a810db5ff99898465a73f70dbc489689fc3c6b87a386f9fbafe7788561ef0
environmentVariableApiAccess.server.ts https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-565b6c38b04b1f29ea49d1afb36913d263ac227b4f21b7440416a7e29ae3723c
apiAuthScope.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-db4c66d061230a6f7c3968272ea4502926021e4564604984b0a0b750570938b0
environmentVariableApiAccess.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-2825137b5307b8134d9181c085aa1f005d30eb1f1d4ee56b05bb3f1103d25a8b
projectEnvironmentCredentialRoute.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-6f8aa55514a641eb278f4c63ff296d342864628c40bed8e60dd0ecb9086a5b6a
rbacFallbackBranch.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-26e96ecd9893008999675dbd0656a7942644f5278a149e139d3c4a211e76c94f
bearerCredentials.ts https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-ae1d5699d578b18720587992939a275fab3a9d8d7d041b5b732c8dd268615566
fallback.ts https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-12041af1e75d07288542adc4af014e6546f84817456dc41516a0eb8b9128ee43
index.ts https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-a62b017cb56eaac99ac79f07b450ff3aa0beebc6bcdc38567d81ce3ec542c478
deploy.ts https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-d7f5aeaec81b32b65d3e217c379ac8bf3616076254b49e6717c79a44265a6aa1
preview.ts https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-7499cfd636383b64b163e11ad33d09235ea7caa71ddc8bb8a3da9cf1678d585c
auth.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-908372b7c76d1ffa342b501f2d4a1754e77f41951557d91d85b0530f4db24b9d
auth.ts https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-fea3dfbb598db49c41b1e5cadbd9802d6d50d5ad799835319b4a0ea840ad2631
index.ts https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-640d5deb6139bf2c59b759b99f0c2e9e5cb4d3fbaacff57e6097bae6f653bb35
rbac.ts https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-cff56c408c4a87da7b5ffeb381f8670d8853ab09ca3bc20af8cd7e2e71b1b741
.changeset/deploy-api-keys.mdhttps://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-ee55f47521f795aec8ab90ded397a29cf91523a9f7606eb8b50e9f46d5f650ed
View file https://github.com/triggerdotdev/trigger.dev/blob/4a0506f46d71ccf1dce426c5a0cd13ccd17a235c/.changeset/deploy-api-keys.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4561/{{ revealButtonHref }}
...routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.apikeys/route.tsxhttps://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-12d3653fba81ef30ade161658ba9101681d158ab6e4df33deea42ce806efe973
View file https://github.com/triggerdotdev/trigger.dev/blob/4a0506f46d71ccf1dce426c5a0cd13ccd17a235c/apps/webapp/app/routes/_app.orgs.%24organizationSlug.projects.%24projectParam.env.%24envParam.apikeys/route.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4561/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-12d3653fba81ef30ade161658ba9101681d158ab6e4df33deea42ce806efe973
https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-12d3653fba81ef30ade161658ba9101681d158ab6e4df33deea42ce806efe973
https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-12d3653fba81ef30ade161658ba9101681d158ab6e4df33deea42ce806efe973
https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-12d3653fba81ef30ade161658ba9101681d158ab6e4df33deea42ce806efe973
https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-12d3653fba81ef30ade161658ba9101681d158ab6e4df33deea42ce806efe973
apps/webapp/app/routes/api.v1.projects.$projectRef.$env.tshttps://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-14ba9fc63c54b4ef4ec531369413559d21dc47face45ec53657cef0dee6e7bce
View file https://github.com/triggerdotdev/trigger.dev/blob/4a0506f46d71ccf1dce426c5a0cd13ccd17a235c/apps/webapp/app/routes/api.v1.projects.%24projectRef.%24env.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4561/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-14ba9fc63c54b4ef4ec531369413559d21dc47face45ec53657cef0dee6e7bce
https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-14ba9fc63c54b4ef4ec531369413559d21dc47face45ec53657cef0dee6e7bce
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4561/files
https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-14ba9fc63c54b4ef4ec531369413559d21dc47face45ec53657cef0dee6e7bce
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4561/files
https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-14ba9fc63c54b4ef4ec531369413559d21dc47face45ec53657cef0dee6e7bce
apps/webapp/app/routes/api.v1.projects.$projectRef.branches.archive.tshttps://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-73e084355d9398a12893a368e4c3def837a2fb29483fb876d05b4a7532702c84
View file https://github.com/triggerdotdev/trigger.dev/blob/4a0506f46d71ccf1dce426c5a0cd13ccd17a235c/apps/webapp/app/routes/api.v1.projects.%24projectRef.branches.archive.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4561/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-73e084355d9398a12893a368e4c3def837a2fb29483fb876d05b4a7532702c84
https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-73e084355d9398a12893a368e4c3def837a2fb29483fb876d05b4a7532702c84
https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-73e084355d9398a12893a368e4c3def837a2fb29483fb876d05b4a7532702c84
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4561/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4561/files
https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-73e084355d9398a12893a368e4c3def837a2fb29483fb876d05b4a7532702c84
https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-73e084355d9398a12893a368e4c3def837a2fb29483fb876d05b4a7532702c84
https://github.com/triggerdotdev/trigger.dev/pull/4561/files#diff-73e084355d9398a12893a368e4c3def837a2fb29483fb876d05b4a7532702c84
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4561/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4561/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.