-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
MONGOID-5588 Add automatic FLE documentation #5611
Conversation
# This field is encrypted using AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic | ||
# algorithm and using a different data key. | ||
field :ssn, type: Integer, encrypt: { | ||
deterministic: true, data_key_id: 'Vxr5m+5cQISjDOruzZgE0w==' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
encrypt_with key_id: ___
# vs
field :ssn, type: Integer, encrypt: { deterministic: true, data_key_id: ___ }
It would be good to use either key_id
or data_key_id
consistently.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, I wonder how I could have missed that. Thank you!
Several questions, which I think should be covered in the tutorial:
|
Regarding the first point, we plan on covering this content in a more targeted fashion (ex: blog post) as this is an activity that isn't limited to just Mongoid. We'll link to this from the Mongoid docs once ready though. For questions 2 and 3 we'll see if we can address that still. |
@comandeo first pass completed, let me know what you think |
No description provided.