Allow GitHub App (installation token) authentication for Enterprise Copilot billing usage + seat assignment REST endpoints #194116
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
We’d like to request GitHub App authentication support for the following GitHub Enterprise Cloud REST API endpoints, which currently do not work with GitHub App tokens:
https://docs.github.com/en/enterprise-cloud@latest/rest/billing/usage?apiVersion=2026-03-10#get-billing-premium-request-usage-report-for-an-enterprise
https://docs.github.com/en/enterprise-cloud@latest/rest/copilot/copilot-user-management?apiVersion=2026-03-10#list-all-copilot-seat-assignments-for-an-enterprise
Problem / Impact
We need to automate enterprise reporting and governance for:
However, because these endpoints require a classic PAT (or other non–GitHub App auth), we can’t implement this automation in a least-privilege, short-lived-credential way. PAT-based automation creates operational and security issues (rotation, ownership tied to a human account, long-lived secrets, offboarding risk).
Requested capability
Please add support for authenticating to these endpoints with GitHub App installation access tokens (and ideally GitHub App user access tokens where appropriate).
Beta Was this translation helpful? Give feedback.
All reactions