-
Notifications
You must be signed in to change notification settings - Fork 26
INTPYTHON-527 Add Queryable Encryption support #329
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
Open
aclark4life
wants to merge
10
commits into
mongodb:main
Choose a base branch
from
aclark4life:INTPYTHON-527
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,240
−150
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aclark4life
commented
Jun 27, 2025
aclark4life
commented
Jun 27, 2025
aclark4life
commented
Jun 27, 2025
timgraham
reviewed
Jun 27, 2025
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
timgraham
reviewed
Jun 30, 2025
timgraham
reviewed
Jul 1, 2025
timgraham
reviewed
Jul 1, 2025
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
timgraham
reviewed
Jul 4, 2025
timgraham
reviewed
Jul 4, 2025
timgraham
reviewed
Jul 7, 2025
aclark4life
commented
Jul 7, 2025
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
timgraham
reviewed
Jul 9, 2025
django_mongodb_backend/management/commands/get_encrypted_fields_map.py
Outdated
Show resolved
Hide resolved
django_mongodb_backend/management/commands/get_encrypted_fields_map.py
Outdated
Show resolved
Hide resolved
timgraham
reviewed
Jul 9, 2025
django_mongodb_backend/management/commands/get_encrypted_fields_map.py
Outdated
Show resolved
Hide resolved
django_mongodb_backend/management/commands/get_encrypted_fields_map.py
Outdated
Show resolved
Hide resolved
timgraham
reviewed
Jul 9, 2025
This comment was marked as resolved.
This comment was marked as resolved.
aclark4life
commented
Jul 11, 2025
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
0997357
to
160f7a9
Compare
timgraham
reviewed
Aug 12, 2025
timgraham
reviewed
Aug 12, 2025
This comment was marked as resolved.
This comment was marked as resolved.
timgraham
reviewed
Aug 12, 2025
timgraham
reviewed
Aug 12, 2025
timgraham
reviewed
Aug 12, 2025
Comment on lines
91
to
102
Encrypted fields map | ||
~~~~~~~~~~~~~~~~~~~~ | ||
|
||
In addition to the :ref:`settings described in the how-to guide | ||
<queryable-encryption-settings>` you will need to provide a | ||
``encrypted_fields_map`` to the ``AutoEncryptionOpts``. | ||
|
||
You can use the :djadmin:`showencryptedfieldsmap` management command to generate | ||
the schema map for your encrypted fields and then use the results in your | ||
settings:: | ||
|
||
python manage.py showencryptedfieldsmap --database=encrypted |
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.
We're missing the step on defining your models (consolidate from topic guide?), then makemigrations
and migrate
. Otherwise showencryptedfieldsmap
may crash without any keyIds to retrieve?
timgraham
reviewed
Aug 12, 2025
timgraham
reviewed
Aug 12, 2025
25b7e8b
to
2469f84
Compare
aclark4life
commented
Aug 13, 2025
aclark4life
commented
Aug 13, 2025
cd8aa5c
to
62db35a
Compare
QE Doc flow - Three top level (or close to it) docs - How to guide on QE configuration - QE field guide (moved out of model field ref to its own section) - Topic guide on QE usage
- Planning to finish QE setup in the how-to doc then switch back to the topic doc to explain the workflow.
In the QE topics guide I'm going to explain how to develop a patient model similar to the Python QE tutorial and the encryption test suite. If embedding were possible now, I could present the same example. Since embedded models are a WIP I may either: - design the guide to work around that issue - design the guide to anticipate resolution of that issue In ether case, I'll try to wrap this 24-48 hour docs jam having covered everything I know about QE and Django and having presented it to Django folks in a way we can support.
- Configuring the encrypted_fields_map section
21c237e
to
cd035eb
Compare
- Configuring the Automatic Encryption Shared Library
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Previous attempts and additional context here: