René's URL Explorer Experiment


Title: feat: Longer lived api keys for cli by Emyrk · Pull Request #1935 · coder/coder · GitHub

Open Graph Title: feat: Longer lived api keys for cli by Emyrk · Pull Request #1935 · coder/coder

X Title: feat: Longer lived api keys for cli by Emyrk · Pull Request #1935 · coder/coder

Description: Secure environments for developers and their agents - feat: Longer lived api keys for cli by Emyrk · Pull Request #1935 · coder/coder

Open Graph Description: #1269 What this does Cli auth now lasts 1 week. Token refreshes use lifetime_seconds column on the api key to know how long to refresh

X Description: #1269 What this does Cli auth now lasts 1 week. Token refreshes use lifetime_seconds column on the api key to know how long to refresh

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

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:b67f70cc-e176-2e7b-a98a-bb2e673cd584
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB4A0:ADA9D:2473320:2EC8DD5:6B017A97
html-safe-nonce9bfee1bafe37f11c30beea23764e1f20a5cc82c74e7bf336d78a8a371ae5fc35
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNEEwOkFEQTlEOjI0NzMzMjA6MkVDOERENTo2QjAxN0E5NyIsInZpc2l0b3JfaWQiOiI0NjA0Mzg4NDI0MTEwMTQ0MTUxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac3d888ad878d3d8abd5fc72e21768fe5c12c003f2267a7d6fccfd9b58cf183517
hovercard-subject-tagpull_request:952495796
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/1935/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b3ae1b8e00d115bbe23e59b116f87c31b7e9c1f61764c130a5f9dd55503ddd64/coder/coder/pull/1935
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b3ae1b8e00d115bbe23e59b116f87c31b7e9c1f61764c130a5f9dd55503ddd64/coder/coder/pull/1935
og:image:alt#1269 What this does Cli auth now lasts 1 week. Token refreshes use lifetime_seconds column on the api key to know how long to refresh
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameEmyrk
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-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/coder/coder/pull/1935#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F1935
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%2F1935
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/1935
Reloadhttps://github.com/coder/coder/pull/1935
Reloadhttps://github.com/coder/coder/pull/1935
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
Emyrkhttps://github.com/Emyrk
mainhttps://github.com/coder/coder/tree/main
stevenmasley/long_api_keyshttps://github.com/coder/coder/tree/stevenmasley/long_api_keys
Conversationhttps://github.com/coder/coder/pull/1935
Commits5 (5)https://github.com/coder/coder/pull/1935/commits
Checkshttps://github.com/coder/coder/pull/1935/checks
Files changedhttps://github.com/coder/coder/pull/1935/files
feat: Longer lived api keys for clihttps://github.com/coder/coder/pull/1935#top
Emyrkhttps://github.com/Emyrk
mainhttps://github.com/coder/coder/tree/main
stevenmasley/long_api_keyshttps://github.com/coder/coder/tree/stevenmasley/long_api_keys
https://github.com/Emyrk
Emyrkhttps://github.com/Emyrk
May 31, 2022https://github.com/coder/coder/pull/1935#issue-1254488024
Please reload this pagehttps://github.com/coder/coder/pull/1935
#1269https://github.com/coder/coder/issues/1269
Please reload this pagehttps://github.com/coder/coder/pull/1935
Emyrkhttps://github.com/Emyrk
May 31, 2022 17:43https://github.com/coder/coder/pull/1935#commits-pushed-a97fe64
https://github.com/Emyrk
feat: Longer lived api keys for clihttps://github.com/coder/coder/pull/1935/commits/a97fe643007acbeac8c6c1d169e3f45e01ee1b9d
a97fe64https://github.com/coder/coder/pull/1935/commits/a97fe643007acbeac8c6c1d169e3f45e01ee1b9d
https://github.com/Emyrk
feat: Refresh tokens based on their lifetime set in the dbhttps://github.com/coder/coder/pull/1935/commits/b9cc661be31f1f91945607fc639a6eab83e4e763
b9cc661https://github.com/coder/coder/pull/1935/commits/b9cc661be31f1f91945607fc639a6eab83e4e763
https://github.com/Emyrk
test: Add unit test for refreshinghttps://github.com/coder/coder/pull/1935/commits/147187274e60bbf5993f6750ce5cc20a1a1fc814
1471872https://github.com/coder/coder/pull/1935/commits/147187274e60bbf5993f6750ce5cc20a1a1fc814
https://github.com/Emyrk
Better defaultshttps://github.com/coder/coder/pull/1935/commits/dd6b8eeee8141a3bfe9afe8ece6dd0960e6e77da
dd6b8eehttps://github.com/coder/coder/pull/1935/commits/dd6b8eeee8141a3bfe9afe8ece6dd0960e6e77da
https://github.com/Emyrk
Import orderhttps://github.com/coder/coder/pull/1935/commits/687d6e2fc5b2891966523afad2d34d69c11b05a2
687d6e2https://github.com/coder/coder/pull/1935/commits/687d6e2fc5b2891966523afad2d34d69c11b05a2
https://github.com/Emyrk
Emyrkhttps://github.com/Emyrk
May 31, 2022 https://github.com/coder/coder/pull/1935#pullrequestreview-991261739
View reviewed changes https://github.com/coder/coder/pull/1935/files/147187274e60bbf5993f6750ce5cc20a1a1fc814
coderd/database/queries/apikeys.sqlhttps://github.com/coder/coder/pull/1935/files/147187274e60bbf5993f6750ce5cc20a1a1fc814#diff-ef1106f5225ece9fb7faa1995da4ba2cab92e036c7b674384bd660803c61dd6a
Emyrkhttps://github.com/Emyrk
May 31, 2022https://github.com/coder/coder/pull/1935#discussion_r886215525
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/1935
coderd/users.gohttps://github.com/coder/coder/pull/1935/files/147187274e60bbf5993f6750ce5cc20a1a1fc814#diff-b4e10e23e473674139719f634b3ad7e760467574e342916c4bbb42df7a613722
Emyrkhttps://github.com/Emyrk
May 31, 2022https://github.com/coder/coder/pull/1935#discussion_r886215806
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/1935
https://github.com/Emyrk
Emyrkhttps://github.com/Emyrk
May 31, 2022 23:53https://github.com/coder/coder/pull/1935#event-6713798139
https://github.com/Emyrk
Emyrkhttps://github.com/Emyrk
kylecarbshttps://github.com/kylecarbs
May 31, 2022 23:53https://github.com/coder/coder/pull/1935#event-6713798366
https://github.com/kylecarbs
kylecarbshttps://github.com/kylecarbs
Jun 1, 2022 https://github.com/coder/coder/pull/1935#pullrequestreview-992052208
View reviewed changes https://github.com/coder/coder/pull/1935/files/687d6e2fc5b2891966523afad2d34d69c11b05a2
coderd/database/queries/apikeys.sqlhttps://github.com/coder/coder/pull/1935/files/687d6e2fc5b2891966523afad2d34d69c11b05a2#diff-ef1106f5225ece9fb7faa1995da4ba2cab92e036c7b674384bd660803c61dd6a
kylecarbshttps://github.com/kylecarbs
Jun 1, 2022https://github.com/coder/coder/pull/1935#discussion_r886861711
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/1935
Emyrkhttps://github.com/Emyrk
Jun 1, 2022https://github.com/coder/coder/pull/1935#discussion_r886912115
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/1935
dwahlerhttps://github.com/dwahler
Jun 1, 2022https://github.com/coder/coder/pull/1935#discussion_r887012082
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/1935
Emyrkhttps://github.com/Emyrk
Jun 1, 2022https://github.com/coder/coder/pull/1935#discussion_r887084832
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@dwahlerhttps://github.com/dwahler
Please reload this pagehttps://github.com/coder/coder/pull/1935
coderd/users.gohttps://github.com/coder/coder/pull/1935/files/687d6e2fc5b2891966523afad2d34d69c11b05a2#diff-b4e10e23e473674139719f634b3ad7e760467574e342916c4bbb42df7a613722
kylecarbshttps://github.com/kylecarbs
Jun 1, 2022https://github.com/coder/coder/pull/1935#discussion_r886891949
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@dwahlerhttps://github.com/dwahler
Please reload this pagehttps://github.com/coder/coder/pull/1935
Emyrkhttps://github.com/Emyrk
Jun 1, 2022https://github.com/coder/coder/pull/1935#discussion_r886913120
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/1935
dwahlerhttps://github.com/dwahler
Jun 1, 2022https://github.com/coder/coder/pull/1935#discussion_r886936000
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/1935
Emyrkhttps://github.com/Emyrk
Jun 1, 2022https://github.com/coder/coder/pull/1935#discussion_r886953542
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@dwahlerhttps://github.com/dwahler
Please reload this pagehttps://github.com/coder/coder/pull/1935
dwahlerhttps://github.com/dwahler
Jun 1, 2022https://github.com/coder/coder/pull/1935#discussion_r886989377
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/1935
Emyrkhttps://github.com/Emyrk
Jun 1, 2022https://github.com/coder/coder/pull/1935#discussion_r887115660
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@dwahlerhttps://github.com/dwahler
Please reload this pagehttps://github.com/coder/coder/pull/1935
https://github.com/dwahler
dwahlerhttps://github.com/dwahler
Jun 1, 2022 https://github.com/coder/coder/pull/1935#pullrequestreview-992237898
View reviewed changes https://github.com/coder/coder/pull/1935/files/687d6e2fc5b2891966523afad2d34d69c11b05a2
coderd/users.gohttps://github.com/coder/coder/pull/1935/files/687d6e2fc5b2891966523afad2d34d69c11b05a2#diff-b4e10e23e473674139719f634b3ad7e760467574e342916c4bbb42df7a613722
dwahlerhttps://github.com/dwahler
Jun 1, 2022https://github.com/coder/coder/pull/1935#discussion_r886989377
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/1935
coderd/database/queries/apikeys.sqlhttps://github.com/coder/coder/pull/1935/files/687d6e2fc5b2891966523afad2d34d69c11b05a2#diff-ef1106f5225ece9fb7faa1995da4ba2cab92e036c7b674384bd660803c61dd6a
dwahlerhttps://github.com/dwahler
Jun 1, 2022https://github.com/coder/coder/pull/1935#discussion_r887012082
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/1935
https://github.com/Emyrk
Emyrkhttps://github.com/Emyrk
913c0f5https://github.com/coder/coder/commit/913c0f5e7fd39404712b0f1e9fd0788806cbe59f
Jun 1, 2022https://github.com/coder/coder/pull/1935#event-6722627919
https://github.com/Emyrk
Emyrkhttps://github.com/Emyrk
June 1, 2022 19:58https://github.com/coder/coder/pull/1935#event-6722627993
https://github.com/Emyrk
Emyrkhttps://github.com/Emyrk
Jun 2, 2022 https://github.com/coder/coder/pull/1935#ref-issue-1224139933
Bug: API key always expires, even on the host #1269 https://github.com/coder/coder/issues/1269
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%2F1935
https://github.com/kylecarbs
kylecarbs https://github.com/kylecarbs
https://github.com/coder/coder/pull/1935/files/687d6e2fc5b2891966523afad2d34d69c11b05a2
https://github.com/dwahler
dwahler https://github.com/dwahler
https://github.com/coder/coder/pull/1935/files/687d6e2fc5b2891966523afad2d34d69c11b05a2
Please reload this pagehttps://github.com/coder/coder/pull/1935
Please reload this pagehttps://github.com/coder/coder/pull/1935
https://github.com/Emyrk
https://github.com/dwahler
https://github.com/kylecarbs
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.