You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a token is generated, if we don't pass a permissions input during the request, that token comes with all the allowed permissions available in the App.
Sometimes we want to narrow down those permissions in a given token generation.
The text was updated successfully, but these errors were encountered:
gagoar
changed the title
Add permissions input to narrow down permissions on a given token request.
Add permissions input to narrow down access on a given token request.
Dec 15, 2022
Adds a "repo" option which can be used to restrict the token scope to
only a subset of the repositories that the installed application has
been granted. If the option is not given, a token with the maximum scope
is returned.
```
> github-app-installation-token --appId x --installationId y --privateKeyLocation z --repo repo1 --repo repo2
```
It relates to #174
Co-authored-by: Gago <xeroice@gmail.com>
When a token is generated, if we don't pass a permissions input during the request, that token comes with all the allowed permissions available in the App.
Sometimes we want to narrow down those permissions in a given token generation.
https://docs.github.com/en/rest/apps/apps?apiVersion=2022-11-28#create-an-installation-access-token-for-an-app
The text was updated successfully, but these errors were encountered: