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::
41
41
from pymongo.encryption_options import AutoEncryptionOpts
42
42
43
43
DATABASES = {
44
- …
44
+ ...
45
45
"encrypted": parse_uri(
46
46
DATABASE_URL,
47
47
options={
@@ -124,12 +124,12 @@ Django settings::
124
124
from bson.binary import Binary
125
125
from pymongo.encryption_options import AutoEncryptionOpts
126
126
127
- …
127
+
128
128
DATABASES["encrypted"] = {
129
- …
129
+ ...
130
130
"OPTIONS": {
131
131
"auto_encryption_opts": AutoEncryptionOpts(
132
- …
132
+ ...
133
133
crypt_shared_lib_path="/path/to/mongo_crypt_v1",
134
134
encrypted_fields_map = {
135
135
"encryption__patientrecord": {
@@ -142,12 +142,9 @@ Django settings::
142
142
},
143
143
}
144
144
},
145
- # Add other models with encrypted fields here
146
145
},
147
146
),
148
- …
149
147
},
150
- …
151
148
}
152
149
153
150
You are now ready to use :doc: `Queryable Encryption
You can’t perform that action at this time.
0 commit comments