Draft: Initialize ActiveRecord encryption keys
What does this MR do and why?
Add configuration code to enable ActiveRecord encryption.
Having the configuration set up is the first step to move away from attr_encrypted
gem. Once we have this set up, new columns requiring encryption can start to use ActiveRecord encryption. Meanwhile, we can continue investigating the work needed to migrate existing columns that use attr_encrypted
.
Todo:
-
Make relevant changes in Omnibus -
Make relevant changes in Helm chart -
Update doc on secret entries https://docs.gitlab.com/ee/development/application_secrets.html#secret-entries
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #26243
Edited by Albert