-
-
Notifications
You must be signed in to change notification settings - Fork 777
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a wiki page about best practices for maintaining GitHub secrets #3290
Comments
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
Hi @k-cardon, HfLA appreciates your interest in this issue, but please note that it is in the "New Issue Approval" column of the Project Board because it has not been finalized, approved, or prioritized, and so it is not ready for assignment. For this reason, you have been unassigned from this issue. Please remember to assign issues only from the "Prioritized Backlog" column. The only exceptions to this rule are if you are writing an issue and the |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Hi @k-cardon, thank you for taking up this issue! Hfla appreciates you :) Do let fellow developers know about your:- You're awesome! P.S. - You may not take up another issue until this issue gets merged (or closed). Thanks again :) |
Availability: 1 hr right now, more time Thursday evening and weekend Eta: end of week |
Here's a draft of the info for the wiki (I think it would fit on the currently blank page "GitHub Actions" https://hackforla.github.io/website-wiki/roles/dev/github-actions/) Maintaining GitHub Secrets The owner of a GitHub repo can create and manage secrets stored by GitHub. It's a good idea to regularly audit and rotate secrets to reduce risk of a compromised secret affecting the product or users. For a guide to implementing, using, and updating secrets stored by GitHub, refer to this page. An audit of secret security would include:
More info available here. One option is to create some auto-generated issues that pop up periodically, perhaps annually or biannually, that prompt devs to undertake steps 1-3 above, and perhaps whoever owns the repo could undertake step 4 on a similar schedule. The codebase would need to be updated with an issue template for each one and a GitHub action that auto-generates the issue using the template 1-2 times per year. |
@k-cardon please add to your comments, what is the best way for us to auto-generate issues annually or biannually, to prompt devs to undertake these steps.? Is that done via a GHA workflow? Also please add a link to your comment/draft in https://github.com/hackforla/website/wiki/How-to-Contribute-to-the-Wiki |
@roslynwythe thanks for your comments! I updated the text and added the link to that contributions page. |
@k-cardon - Please write a decision record (it should include the best practices that you wrote up) drafted in a new comment Use the template from here https://github.com/hackforla/website/wiki/Decision-Records-on-Solutions-Adopted#template Once approved, the decision record will end up on these pages and a link to your final approved draft comment will get linked to this page And the decision is to do what you suggest with these specifics |
and when you are done creating it, add a |
This is a record in the Decision Records on Solutions Adopted. IssueBest practices for maintaining GitHub secrets Problem StatementWe store H4LA secrets in GitHub and do not currently have a regular system for maintaining and rotating them, which are best practices for security. Potential SolutionWe could resolve this with: Feasibility DeterminationFor a volunteer with Admin access, rotating secrets is a quick and straightforward task. For auditing existing secrets, we will need to establish a list of where and how the secrets are currently used so that it can become a simple task to check the logs and to check whether the secrets are in use. Putting that into place will make both of these tasks routine. |
Thank you @k-cardon for excellent analysis and writing! |
Overview
As a developer, I would like all the secrets being used in the website repo to be well maintained. In this issue, we will create a wiki page about the best practices for maintaining and resetting secrets in GitHub repos.
Action Items
Audit and rotate registered secrets
as well asAudit how secrets are handled
sections in this helpful article on using secrets.Questions/In Review
column and add theready for dev lead
label.Resources/Instructions
The text was updated successfully, but these errors were encountered: