Add user-minted short-lived repo-scoped access tokens for AI agents #200185
Replies: 1 comment
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Product Feedback
💬 Feature/Topic Area
API
Body
GitHub should add a way for an authenticated user to mint a short-lived, revokable, least-privilege token for a specific repository without requiring a personal access token or GitHub App installation.
Problem
I want to hand an AI coding agent temporary access to one repository. The agent may need to read code, inspect issues, comment, or open a pull request, but I do not want to give it a long-lived credential or anything with broad account-level authority.
Today the options are not adequate:
Personal access tokens are not acceptable.
GitHub App installation tokens are closer technically.
GitHub Actions
GITHUB_TOKENis not enough.Requested feature
Add a first-class flow to mint a user-owned ephemeral repository token.
Suggested behavior
agent/*Primary use case
A developer wants to give an AI coding agent safe temporary access to a private repository without giving it a PAT and without requiring org-level GitHub App installation.
This would provide a safer alternative to users copying broad credentials into AI tools and would align better with least-privilege, short-lived credential practices.
Beta Was this translation helpful? Give feedback.
All reactions