Is there an API for adding secrets to repositories?

Is there an API for adding secrets to repositories? I lookup up the REST API v3, but found nothing.

Is there already one? Or is there going to be one?

Cheers!

2 Likes

There currently isn’t an API for adding secrets. We are working on it though and should have it available in the new year.

1 Like

The API has been made available as beta this week.

Also, we have written a tool to help with managing secrets across a range of repos: https://github.com/webfactory/secret-spreader. See the README for full details.

Feedback is very much appreciated!