简体   繁体   中英

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM