File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ Here's how to set it up in your Django settings::
4141 from pymongo.encryption_options import AutoEncryptionOpts
4242
4343 DATABASES = {
44- …
44+ ...
4545 "encrypted": parse_uri(
4646 DATABASE_URL,
4747 options={
@@ -124,12 +124,12 @@ Django settings::
124124 from bson.binary import Binary
125125 from pymongo.encryption_options import AutoEncryptionOpts
126126
127- …
127+
128128 DATABASES["encrypted"] = {
129- …
129+ ...
130130 "OPTIONS": {
131131 "auto_encryption_opts": AutoEncryptionOpts(
132- …
132+ ...
133133 crypt_shared_lib_path="/path/to/mongo_crypt_v1",
134134 encrypted_fields_map = {
135135 "encryption__patientrecord": {
@@ -142,12 +142,9 @@ Django settings::
142142 },
143143 }
144144 },
145- # Add other models with encrypted fields here
146145 },
147146 ),
148- …
149147 },
150- …
151148 }
152149
153150You are now ready to use :doc: `Queryable Encryption
You can’t perform that action at this time.
0 commit comments