Ways to authenticate with the Github package #51273
Replies: 3 comments
-
A. Unfortunately, Personal Access Tokens (PATs) do not support fine-grained permissions for package registries. The B. Yes, you can use a Github App to authenticate with your package registry. Github Apps allow for more fine-grained permissions and can be scoped to specific repositories and actions. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the info @TEHAQUE, just ran into this myself. |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
Hi all,
We would like to authenticate one of our package registries that is available in our Github account. At this moment, we use PAT (classic method) which has read:packages permission as mentioned in the official document https://docs.github.com/en/rest/packages?apiVersion=2022-11-28. We don't see an option to enable access to package registry in PAT with fine-grained scope.
Questions?
a. Can't we use PAT with fine-grained scope that allows access to package registry?
b. Can we use Github app to authenticate with package registry?
Beta Was this translation helpful? Give feedback.
All reactions