Nick Reshetinsky
Nick Reshetinsky

Reputation: 457

Manage secrets in GitHub Actions

I'm trying to find the way how to secretly deploy my Azure access keys to inject them into GitHub Actions. The problem is that I have no access to the Settings of a GitHub repo, admin of the repo is slow - he will add a new GitHub secret in a week at best, but I need to test the GitHub workflow now.

Upvotes: 2

Views: 1499

Answers (1)

bk2204
bk2204

Reputation: 76964

If you have collaborator access and a personal access token with the repo scope, you can use the API to add secrets to the repository. If you can't do that, then you'll just have to wait. Alternatively, if you already have access to an alternative secret store via the GitHub Actions secrets, then you could use that.

Note that GitHub doesn't provide secret backdoors to the repository settings because the admin is slow. That's an organizational problem.

Upvotes: 3

Related Questions