Ability to create secrets with less than admin role

Currently the ability to create secrets is restricted to those with admin roles. I have folks on my team that I would like to give the ability to create secrets, but requiring full admin perms is a huge “all or nothing” there. Is there a way to enable creation of github secrets with something less than full admin rights?

2 Likes

Hi @adevine,
Currently, GitHub App with secrets repository permission could create secrets.


There is the create or update a repository secret API.
To modify GitHub App permission, please refer to this document: https://developer.github.com/apps/managing-github-apps/editing-a-github-app-s-permissions/