Skip to content
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

Migrate from secrets to credentials #3256

Open
lomky opened this issue Aug 15, 2024 · 0 comments
Open

Migrate from secrets to credentials #3256

lomky opened this issue Aug 15, 2024 · 0 comments
Labels

Comments

@lomky
Copy link
Member

lomky commented Aug 15, 2024

Thanks for creating an issue! Please fill out this form so we can be sure to have all the information we need, and to minimize back and forth.

  • What are we trying to do?

Right now we use the (quite old) style secrets file. Let's move over to using the new-style configs/credentials/ files

  • What feature or behavior is this required for?

Keeping up with Rails Norms

  • How could we solve this issue? (Not knowing is okay!)

After a bit of research, let's follow the per-env key migration route. That best matches our current setup.

This article has a good step by step.

Let's create a development.key, test.key, run the rails commands to set up each of their credential files. All those can be committed to the repo.
Remove the secrets file. Update the .gitignore.
Either @colinxfleming or @lomky will handle generating the production.key and its corresponding credential file before merging, updating the production env var, & releasing it!

  • Anything else?

S/o to the work done in #3128 & #3220 for kicking this off!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant