27 октября GitHub открыл публичное превью server-to-server аутентификации для Copilot. Это закрывает давнюю проблему автоматизации: раньше бот или агент на Copilot SDK должен был работать от имени конкретного пользователя — с его токеном, лимитами и счетами.
Как это работает
Теперь у сервиса есть собственная «рабочая» идентичность (workload-owned identity):
- Выдайте GitHub App разрешение организации
Copilot Requests(только чтение). - Установите приложение в организацию.
- Передавайте в Copilot SDK короткоживущий installation access token приложения.
Учёт и контроль
- Расход списывается на организацию, владеющую установкой.
- Действуют политики организации по моделям, бюджеты и ограничения трат.
- В CSV-отчётах по использованию AI появилось поле
app_client_id— видно, какое приложение сколько потратило. - Отозвать доступ можно, приостановив или удалив приложение.
Кому это нужно
Командам, которые строят на Copilot SDK внутренние агенты, ревью-ботов, CI-интеграции и другие сервисы без «живого» пользователя. Отпадает необходимость хранить персональные токены сотрудников в секретах сервиса, а уход сотрудника больше не ломает автоматизацию.
Что проверить
Если в ваших сервисах сейчас используются персональные токены для Copilot, стоит перевести их на GitHub App. Владельцам организаций — регулярно просматривать, каким приложениям выдано разрешение Copilot Requests.
On October 27 GitHub opened a public preview of server-to-server authentication for Copilot. It fixes a long-standing automation problem: until now, a bot or agent built on the Copilot SDK had to run as a specific user, with that person’s token, limits and billing.
How it works
Services now get their own workload-owned identity:
- Grant a GitHub App the read-only
Copilot Requestsorganization permission. - Install the app on the organization.
- Pass the app’s short-lived installation access token to the Copilot SDK.
Billing and control
- Usage is billed to the organization that owns the installation.
- The organization’s model policies, budgets and spending controls apply.
- AI usage CSV reports gain an
app_client_idfield, showing which app spent what. - Access can be revoked by suspending or uninstalling the app.
Who needs it
Teams building internal agents, review bots, CI integrations and other services with no human user on the Copilot SDK. There is no longer a need to store employees’ personal tokens in service secrets, and an employee leaving no longer breaks automation.
What to check
If your services currently use personal tokens for Copilot, move them to a GitHub App. Organization owners should regularly review which apps hold the Copilot Requests permission.