Skip to content

Draft: Initialize ActiveRecord encryption keys

Albert requested to merge 26243-initialize-active-record-encryption into master

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:

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.

Related to #26243

Edited by Albert

Merge request reports