Can Github Apps API add secrets to repos to be used in Github Actions? It doesn't appear to be listed but would be tremendously helpful.
It is also not yet in the REST v3 Repositories API so even users can't do it with their personal access tokens.
Is this in the timeline soon and am I missing anything? Thanks so much in advance!
Solved! Solved! Go to Solution.
No, it isn't currently possible to add secrets using either the REST or GraphQL API. I can't make any promises as to when or if it will be added, but I'll pass along the feedback to the team.
Thanks for reaching out.
+1 on this. We want to be able to update the secret with short-TTL temporary credentials to limit exposure due to unintended disclosure. The ability to automatically update / rotate secrets is a must.
We definitely need this, without this we cannot use Github Actions (we have workflows that we MUST dynamically generate the secrets and upload to Github, we cannot do this operation manually through UI). Is there a timeline or workaround?
We're working on building this for you all now. I don't have a date yet for when it will ship. Will announce on the change log when available.