Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Pilot Lvl 2
Message 1 of 16

Github Apps to add secrets

Solved! Go to Solution.

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!

15 Replies
Highlighted
Community Manager
Message 2 of 16

Re: Github Apps to add secrets

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.

Highlighted
Copilot Lvl 2
Message 3 of 16

Re: Github Apps to add secrets

+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.

Highlighted
Copilot Lvl 2
Message 4 of 16

Re: Github Apps to add secrets

+1 for this. We require this capability to automate secret rotation. 

Highlighted
Copilot Lvl 3
Message 5 of 16

Re: Github Apps to add secrets

Any update on this? Pretty surprising the API doesn't have endpoints for this.

Highlighted
Copilot Lvl 2
Message 6 of 16

Re: Github Apps to add secrets

Same here, having an API that allows us to add secrets would be really key for us.

Highlighted
Copilot Lvl 2
Message 7 of 16

Re: Github Apps to add secrets

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?

Highlighted
GitHub Staff
Message 8 of 16

Re: Github Apps to add secrets

Hi all,

 

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.

Highlighted
Copilot Lvl 2
Message 9 of 16

Re: Github Apps to add secrets

Thank you @mscoutermarsh!

Ground Controller Lvl 1
Message 10 of 16

Re: Github Apps to add secrets

Thanks! That will be really useful for us.