Hello! This is one part question, but (I think) more a feature request.
I've had a lot of luck experimenting with GitHub Actions for a few things I've used other CI platforms for, but one thing I've run up against is (what I think) is the lack of an ability to centralize and share secrets. For example — I'd like to be able to set up credentials to push static assets to S3, but I'd like to be able to not have to potentially go to 20+ different repositories and add those secrets manually. Not only would that be tedious, it'd be difficult to swap them in a single swoop if necessary.
Perhaps it would be a feature that'd only make sense for Organizations (AKA every repository in an organization that meets X criteria will be able to tap into Y secrets) because that is a natural grouping.
The use case here isn't just laziness. 😉 I have a scenario where a new repository can get programmatically created (like, say, with a CLI tool) by a user of the Organization, who will do some work that'd eventually get compiled and deployed as a static site. Ideally it wouldn't be up to them to also then go put in the credentials every single time they create one.
But also happy to hear any suggestions of how to solve such a thing with the current offerings! Thank you!
Organization wide secrets could definitely be useful. We've talked about this internally a few times.
Thanks for sharing your use case, makes our jobs easier. ❤️
I don't have a timeline for this as at the moment. But can share it's on the backlog for us to figure out.
+1. We have multiple repositories that consumer AWS and our internal package provider api keys and currently that would mean having our Our Cloud Engineering team manually copy secrets into multiple repositories. The ability to share secrets on an Org level and/or the ability to set secrets through an API would be super helpful.
Organization-wide secrets for GitHub Actions would be a hard requirement for my organization (and I imagine a large number of others) to consider moving our Jenkins CI pipelines to GitHub Actions.