René's URL Explorer Experiment


Title: feat: add database constraints for API key expiration and lifetime by ThomasK33 · Pull Request #20444 · coder/coder · GitHub

Open Graph Title: feat: add database constraints for API key expiration and lifetime by ThomasK33 · Pull Request #20444 · coder/coder

X Title: feat: add database constraints for API key expiration and lifetime by ThomasK33 · Pull Request #20444 · coder/coder

Description: Secure environments for developers and their agents - feat: add database constraints for API key expiration and lifetime by ThomasK33 · Pull Request #20444 · coder/coder

Open Graph Description: Add Database Constraints for API Key Validity This PR adds database-level constraints to ensure API keys have valid expiration times and lifetimes: Adds api_keys_expires_at_after_created constrain...

X Description: Add Database Constraints for API Key Validity This PR adds database-level constraints to ensure API keys have valid expiration times and lifetimes: Adds api_keys_expires_at_after_created constrain...

Opengraph URL: https://github.com/coder/coder/pull/20444

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:7e51b812-2142-9567-3000-c36d7c1cf1f2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9080:14700E:212482B:29FCEF5:6B0171FB
html-safe-nonce232cf6c646b3919d72d9d483457698dd23f8436c94f2a9a6208261e9717d840c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDgwOjE0NzAwRToyMTI0ODJCOjI5RkNFRjU6NkIwMTcxRkIiLCJ2aXNpdG9yX2lkIjoiNTg5MjIyNDgzMjk4ODM0NDgyNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac91a037177ed5b1aa6e48bbb20637e88021af14813e836f2d2df9608b1d058330
hovercard-subject-tagpull_request:2941342103
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/coder/coder/20444/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/fddd3efd9e847f97e37bee3600c21117bd164253eb03e523628f8aced86ae9b1/coder/coder/pull/20444
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fddd3efd9e847f97e37bee3600c21117bd164253eb03e523628f8aced86ae9b1/coder/coder/pull/20444
og:image:altAdd Database Constraints for API Key Validity This PR adds database-level constraints to ensure API keys have valid expiration times and lifetimes: Adds api_keys_expires_at_after_created constrain...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameThomasK33
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/coder/coder git https://github.com/coder/coder.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id440752086
octolytics-dimension-repository_nwocoder/coder
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id440752086
octolytics-dimension-repository_network_root_nwocoder/coder
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/coder/coder/pull/20444#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F20444
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%2Fcoder%2Fcoder%2Fpull%2F20444
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=coder%2Fcoder
Reloadhttps://github.com/coder/coder/pull/20444
Reloadhttps://github.com/coder/coder/pull/20444
Reloadhttps://github.com/coder/coder/pull/20444
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests470 (470)https://github.com/coder/coder/pulls
Discussionshttps://github.com/coder/coder/discussions
Actionshttps://github.com/coder/coder/actions
Projectshttps://github.com/coder/coder/projects
Security and quality49 (49)https://github.com/coder/coder/security
Insightshttps://github.com/coder/coder/insights
https://github.com/coder/coder
ThomasK33https://github.com/ThomasK33
mainhttps://github.com/coder/coder/tree/main
thomask33/10-23-enforce_api_key_time_checkshttps://github.com/coder/coder/tree/thomask33/10-23-enforce_api_key_time_checks
Conversationhttps://github.com/coder/coder/pull/20444
Commits1 (1)https://github.com/coder/coder/pull/20444/commits
Checkshttps://github.com/coder/coder/pull/20444/checks
Files changedhttps://github.com/coder/coder/pull/20444/files
feat: add database constraints for API key expiration and lifetimehttps://github.com/coder/coder/pull/20444#top
ThomasK33https://github.com/ThomasK33
mainhttps://github.com/coder/coder/tree/main
thomask33/10-23-enforce_api_key_time_checkshttps://github.com/coder/coder/tree/thomask33/10-23-enforce_api_key_time_checks
https://github.com/ThomasK33
ThomasK33https://github.com/ThomasK33
Oct 23, 2025https://github.com/coder/coder/pull/20444#issue-3545697833
Please reload this pagehttps://github.com/coder/coder/pull/20444
feat: add allow_list to resource-scoped API tokens #19964 https://github.com/coder/coder/pull/19964
feat: add allow list to API keys #19972 https://github.com/coder/coder/pull/19972
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
ThomasK33https://github.com/ThomasK33
Oct 23, 2025https://github.com/coder/coder/pull/20444#event-20460638043
feat: add API endpoint to update token API keys #19983 https://github.com/coder/coder/pull/19983
feat: add scoped token support to CLI #19985 https://github.com/coder/coder/pull/19985
feat: add scope enforcement metrics to RBAC authorizer #19991 https://github.com/coder/coder/pull/19991
feat: add API key metadata to audit logs #19996 https://github.com/coder/coder/pull/19996
fix: improve RBAC scope allow list handling for create actions #20008 https://github.com/coder/coder/pull/20008
feat: add legacy API key scope compatibility #20021 https://github.com/coder/coder/pull/20021
refactor: add wildcard scope entries for API key scopes #20032 https://github.com/coder/coder/pull/20032
feat: improve RBAC resource ID matching and structured allowlist targets #20035 https://github.com/coder/coder/pull/20035
feat: replace ExternalAPIKeyScopes with detailed ScopeCatalog #20248 https://github.com/coder/coder/pull/20248
feat: add scopes and resource allow-list to API tokens #20249 https://github.com/coder/coder/pull/20249
https://github.com/ThomasK33
https://github.com/apps/graphite-app
ThomasK33https://github.com/ThomasK33
Oct 23, 2025https://github.com/coder/coder/pull/20444#issuecomment-3438143991
Please reload this pagehttps://github.com/coder/coder/pull/20444
feat: add database constraints for API key expiration and lifetime #20444https://github.com/coder/coder/pull/20444
https://app.graphite.com/github/pr/coder/coder/20444?utm_source=stack-comment-icon
(View in Graphite)https://app.graphite.com/github/pr/coder/coder/20444?utm_source=stack-comment-view-in-graphite
feat: add allow list to API keys #19972https://github.com/coder/coder/pull/19972
https://app.graphite.com/github/pr/coder/coder/19972?utm_source=stack-comment-icon
#19983https://github.com/coder/coder/pull/19983
https://app.graphite.com/github/pr/coder/coder/19983?utm_source=stack-comment-icon
#19985https://github.com/coder/coder/pull/19985
https://app.graphite.com/github/pr/coder/coder/19985?utm_source=stack-comment-icon
feat: add allow_list to resource-scoped API tokens #19964https://github.com/coder/coder/pull/19964
https://app.graphite.com/github/pr/coder/coder/19964?utm_source=stack-comment-icon
refactor: add wildcard scope entries for API key scopes #20032https://github.com/coder/coder/pull/20032
https://app.graphite.com/github/pr/coder/coder/20032?utm_source=stack-comment-icon
Graphitehttps://graphite.dev?utm-source=stack-comment
stackinghttps://stacking.dev/?utm_source=stack-comment
Please reload this pagehttps://github.com/coder/coder/pull/20444
https://github.com/ThomasK33
ThomasK33https://github.com/ThomasK33
Oct 23, 2025 https://github.com/coder/coder/pull/20444#ref-pullrequest-3540883206
feat: add default resource types to composite API key scopes #20412 https://github.com/coder/coder/pull/20412
https://github.com/ThomasK33
ThomasK33https://github.com/ThomasK33
force-pushedhttps://github.com/coder/coder/compare/18f8a4e87fe2fb943b758ec6de5e612f7fb35305..9efa897810ef93c083a3150d7ddd51e014e5fad2
18f8a4ehttps://github.com/coder/coder/commit/18f8a4e87fe2fb943b758ec6de5e612f7fb35305
9efa897https://github.com/coder/coder/commit/9efa897810ef93c083a3150d7ddd51e014e5fad2
Compare https://github.com/coder/coder/compare/18f8a4e87fe2fb943b758ec6de5e612f7fb35305..9efa897810ef93c083a3150d7ddd51e014e5fad2
October 24, 2025 10:23https://github.com/coder/coder/pull/20444#event-20479755212
https://github.com/ThomasK33
ThomasK33https://github.com/ThomasK33
October 24, 2025 11:33https://github.com/coder/coder/pull/20444#event-20481343797
https://github.com/ThomasK33
ThomasK33https://github.com/ThomasK33
force-pushedhttps://github.com/coder/coder/compare/9efa897810ef93c083a3150d7ddd51e014e5fad2..c853e86c07c59d7583fe32feeea54e4dc72db15e
9efa897https://github.com/coder/coder/commit/9efa897810ef93c083a3150d7ddd51e014e5fad2
c853e86https://github.com/coder/coder/commit/c853e86c07c59d7583fe32feeea54e4dc72db15e
Compare https://github.com/coder/coder/compare/9efa897810ef93c083a3150d7ddd51e014e5fad2..c853e86c07c59d7583fe32feeea54e4dc72db15e
October 24, 2025 11:35https://github.com/coder/coder/pull/20444#event-20481379402
https://github.com/ThomasK33
ThomasK33https://github.com/ThomasK33
force-pushedhttps://github.com/coder/coder/compare/42451c13ecaa86eb4fd392f766ad03334c5fad14..f684831f56b074516295847bdc8a6ccc9e74c4bb
42451c1https://github.com/coder/coder/commit/42451c13ecaa86eb4fd392f766ad03334c5fad14
f684831https://github.com/coder/coder/commit/f684831f56b074516295847bdc8a6ccc9e74c4bb
Compare https://github.com/coder/coder/compare/42451c13ecaa86eb4fd392f766ad03334c5fad14..f684831f56b074516295847bdc8a6ccc9e74c4bb
October 24, 2025 11:35https://github.com/coder/coder/pull/20444#event-20481379528
https://github.com/apps/graphite-app
graphite-apphttps://github.com/apps/graphite-app
October 24, 2025 11:36https://github.com/coder/coder/pull/20444#event-20481387265
https://github.com/ThomasK33
ThomasK33https://github.com/ThomasK33
force-pushedhttps://github.com/coder/coder/compare/ed96ae75630d48c3f0b6e42a3cf7cf2905c74f98..653cb072e26a158b4c57e20654b037a5364297e1
ed96ae7https://github.com/coder/coder/commit/ed96ae75630d48c3f0b6e42a3cf7cf2905c74f98
653cb07https://github.com/coder/coder/commit/653cb072e26a158b4c57e20654b037a5364297e1
Compare https://github.com/coder/coder/compare/ed96ae75630d48c3f0b6e42a3cf7cf2905c74f98..653cb072e26a158b4c57e20654b037a5364297e1
October 24, 2025 16:45https://github.com/coder/coder/pull/20444#event-20488785664
https://github.com/ThomasK33
ThomasK33https://github.com/ThomasK33
October 24, 2025 16:46https://github.com/coder/coder/pull/20444#event-20488809029
https://github.com/ThomasK33
ThomasK33https://github.com/ThomasK33
aslilachttps://github.com/aslilac
buenos-nachoshttps://github.com/buenos-nachos
code ownershttps://github.com/coder/coder/blob/7bad7e35ae947cb3a0c7e8276fc221944f793334/CODEOWNERS#L21
October 24, 2025 16:46https://github.com/coder/coder/pull/20444#event-20488809162
https://github.com/ThomasK33
ThomasK33https://github.com/ThomasK33
force-pushedhttps://github.com/coder/coder/compare/653cb072e26a158b4c57e20654b037a5364297e1..3090b36ae8c406cec24dc9d9ea459dd8b3bbc5fa
653cb07https://github.com/coder/coder/commit/653cb072e26a158b4c57e20654b037a5364297e1
3090b36https://github.com/coder/coder/commit/3090b36ae8c406cec24dc9d9ea459dd8b3bbc5fa
Compare https://github.com/coder/coder/compare/653cb072e26a158b4c57e20654b037a5364297e1..3090b36ae8c406cec24dc9d9ea459dd8b3bbc5fa
October 26, 2025 09:32https://github.com/coder/coder/pull/20444#event-20508094674
https://github.com/ThomasK33
ThomasK33https://github.com/ThomasK33
force-pushedhttps://github.com/coder/coder/compare/47af1e4422cc8b3f3a94ec26d803e4654a188ab4..965240ff7b4db5a4f6a44d33f7dd716c9b6c2748
47af1e4https://github.com/coder/coder/commit/47af1e4422cc8b3f3a94ec26d803e4654a188ab4
965240fhttps://github.com/coder/coder/commit/965240ff7b4db5a4f6a44d33f7dd716c9b6c2748
Compare https://github.com/coder/coder/compare/47af1e4422cc8b3f3a94ec26d803e4654a188ab4..965240ff7b4db5a4f6a44d33f7dd716c9b6c2748
October 27, 2025 18:15https://github.com/coder/coder/pull/20444#event-20532832106
https://github.com/aslilac
aslilachttps://github.com/aslilac
aslilachttps://github.com/aslilac
buenos-nachoshttps://github.com/buenos-nachos
October 28, 2025 00:13https://github.com/coder/coder/pull/20444#event-20539234999
https://github.com/ThomasK33
ThomasK33https://github.com/ThomasK33
force-pushedhttps://github.com/coder/coder/compare/965240ff7b4db5a4f6a44d33f7dd716c9b6c2748..a8fd73e5ae3e8fbf75861ff8a2dee90eaac057f8
965240fhttps://github.com/coder/coder/commit/965240ff7b4db5a4f6a44d33f7dd716c9b6c2748
a8fd73ehttps://github.com/coder/coder/commit/a8fd73e5ae3e8fbf75861ff8a2dee90eaac057f8
Compare https://github.com/coder/coder/compare/965240ff7b4db5a4f6a44d33f7dd716c9b6c2748..a8fd73e5ae3e8fbf75861ff8a2dee90eaac057f8
October 28, 2025 08:08https://github.com/coder/coder/pull/20444#event-20546106102
https://github.com/ThomasK33
fix: enforce API key lifetime and expiry constraintshttps://github.com/coder/coder/pull/20444/commits/cfe60ff58ca526c75fcf61fdb943294324d20b07
cfe60ffhttps://github.com/coder/coder/pull/20444/commits/cfe60ff58ca526c75fcf61fdb943294324d20b07
https://github.com/ThomasK33
ThomasK33https://github.com/ThomasK33
force-pushedhttps://github.com/coder/coder/compare/a8fd73e5ae3e8fbf75861ff8a2dee90eaac057f8..cfe60ff58ca526c75fcf61fdb943294324d20b07
a8fd73ehttps://github.com/coder/coder/commit/a8fd73e5ae3e8fbf75861ff8a2dee90eaac057f8
cfe60ffhttps://github.com/coder/coder/commit/cfe60ff58ca526c75fcf61fdb943294324d20b07
Compare https://github.com/coder/coder/compare/a8fd73e5ae3e8fbf75861ff8a2dee90eaac057f8..cfe60ff58ca526c75fcf61fdb943294324d20b07
October 28, 2025 13:48https://github.com/coder/coder/pull/20444#event-20554497559
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/coder/coder/issues?q=state%3Aopen%20label%3Astale
stale https://github.com/coder/coder/issues?q=state%3Aopen%20label%3Astale
Nov 5, 2025https://github.com/coder/coder/pull/20444#event-20715319664
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/coder/coder/issues?q=state%3Aopen%20label%3Astale
Nov 17, 2025https://github.com/coder/coder/pull/20444#event-20975492144
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Nov 20, 2025https://github.com/coder/coder/pull/20444#event-21055959822
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
April 29, 2026 00:24https://github.com/coder/coder/pull/20444#event-24970487164
https://github.co/hiddenchars
https://github.com/coder/coder/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F20444
Please reload this pagehttps://github.com/coder/coder/pull/20444
https://github.com/ThomasK33
ThomasK33 https://github.com/ThomasK33
stale https://github.com/coder/coder/issues?q=state%3Aopen%20label%3Astale
Please reload this pagehttps://github.com/coder/coder/pull/20444
https://github.com/ThomasK33
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.