-
-
Notifications
You must be signed in to change notification settings - Fork 250
feat(cli): ability to manage pat #1213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||||
## [2.41.0-stage.1](v2.40.1-stage.1...v2.41.0-stage.1) (2025-10-19) ### 🚀 Features * **cli:** ability to manage pat ([#1213](#1213)) ([0473463](0473463))
|
🎉 This PR is included in version 2.41.0-stage.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
## [2.41.0](v2.40.0...v2.41.0) (2025-10-23) ### 🚀 Features * **cli:** ability to manage pat ([#1213](#1213)) ([0473463](0473463)) * **cli:** add `keyshade reset` command to wipe local profiles ([#1206](#1206)) ([229557a](229557a)) * **cli:** improved keyshade import flow ([#1219](#1219)) ([5affb52](5affb52)) * **platform:** add search functionality to integrations page ([#1184](#1184)) ([83b0374](83b0374)) ### 🐛 Bug Fixes * resolve hero image overlap with [secure] section text ([#1161](#1161)) ([3b1d4b6](3b1d4b6)) ### 📚 Documentation * add new internals pages for [secure], variable and env creation + cli docs for [secure] and variables ([#1208](#1208)) ([2bd595d](2bd595d)) * revamp getting started ([#1221](#1221)) ([e683fd6](e683fd6)) * Update image link in README.md ([adf7761](adf7761)) ### 🔧 Miscellaneous Chores * **cli:** bump CLI to v3.6.0 ([267469a](267469a)) * **release:** 2.36.0-stage.2 [skip ci] ([14aedf9](14aedf9)) * **release:** 2.40.1-stage.1 [skip ci] ([f0c296d](f0c296d)) * **release:** 2.41.0-stage.1 [skip ci] ([59fdbe3](59fdbe3)) * **release:** 2.41.0-stage.2 [skip ci] ([4d5ee50](4d5ee50)) * **release:** 2.41.0-stage.3 [skip ci] ([f2ca012](f2ca012)) * **release:** 2.41.0-stage.4 [skip ci] ([7a4e1fb](7a4e1fb))
|
🎉 This PR is included in version 2.41.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
PR Type
Enhancement
Description
Add comprehensive CLI commands to manage personal access tokens (PAT)
Improve PAT expiry handling to support tokens that never expire
expiresAfterDaysvalue of 0 for non-expiring tokensRefactor session and token response types for nullable fields
lastUsedOnandexpiresOnnullable across session and token modelsExtract common PAT utilities into reusable helper module
PatUtilsClean up user service by removing bootstrap initialization methods
Diagram Walkthrough
File Walkthrough
20 files
New PAT command with subcommandsImplement interactive PAT creation commandAdd PAT listing with verbose optionImplement PAT update with interactive modeAdd PAT deletion with confirmation promptImplement PAT regeneration with confirmationCreate PAT utility functions for reuseAdd PersonalAccessTokenController instanceRegister PAT command and reorder commandsAllow zero expiry days for non-expiring tokensHandle zero expiry for never-expiring tokensUpdate PAT response type with nullable fieldsMake lastUsedOn nullable in session responsesCreate PersonalAccessTokenController for APIExport PersonalAccessTokenControllerDefine PAT request and response schemasExport PAT TypeScript type definitionsExport personal access token schemasExport personal access token typesMake lastUsedOn nullable in token models1 files
Validate expiry days greater than zero1 files
Remove bootstrap initialization methods1 files
Document new PAT command features1 files
Bump version to 3.6.0-stage.12 files
Sort imports and simplify variable assignmentImprove function signature formatting1 files