Skip to content

Commit 012ea2d

Browse files
committed
Use same keyvault namespace as QE tutorial
It doesn't really matter but may as well be consistent with tutorial when possible. Curiously and confusingly the CSFLE spec uses "keyvault.datakeys".
1 parent b2a97d5 commit 012ea2d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/howto/queryable-encryption.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ encryption keys.
7676
"PORT": 27017,
7777
"OPTIONS": {
7878
"auto_encryption_opts": AutoEncryptionOpts(
79-
key_vault_namespace="encrypted.keyvault",
79+
key_vault_namespace="encryption.__keyVault",
8080
kms_providers={"local": {"key": os.urandom(96)}},
8181
)
8282
},
@@ -166,7 +166,7 @@ Example of KMS configuration with AWS KMS:
166166
"PORT": 27017,
167167
"OPTIONS": {
168168
"auto_encryption_opts": AutoEncryptionOpts(
169-
key_vault_namespace="encrypted.keyvault",
169+
key_vault_namespace="encryption.__keyVault",
170170
kms_providers={
171171
"aws": {
172172
"accessKeyId": "your-access-key-id",
@@ -227,7 +227,7 @@ Use the output of the :djadmin:`showencryptedfieldsmap` command to set the
227227
"PORT": 27017,
228228
"OPTIONS": {
229229
"auto_encryption_opts": AutoEncryptionOpts(
230-
key_vault_namespace="encrypted.keyvault",
230+
key_vault_namespace="encryption.__keyVault",
231231
kms_providers={
232232
"aws": {
233233
"accessKeyId": "your-access-key-id",
@@ -288,7 +288,7 @@ shows how to configure the shared library in your Django settings:
288288
"PORT": 27017,
289289
"OPTIONS": {
290290
"auto_encryption_opts": AutoEncryptionOpts(
291-
key_vault_namespace="encrypted.keyvault",
291+
key_vault_namespace="encryption.__keyVault",
292292
kms_providers={
293293
"aws": {
294294
"accessKeyId": "your-access-key-id",

0 commit comments

Comments
 (0)