Skip to content

Commit 0154ca4

Browse files
aclark4lifetimgraham
authored andcommitted
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 db188cf commit 0154ca4

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",
@@ -292,7 +292,7 @@ shows how to configure the shared library in your Django settings:
292292
"PORT": 27017,
293293
"OPTIONS": {
294294
"auto_encryption_opts": AutoEncryptionOpts(
295-
key_vault_namespace="encrypted.keyvault",
295+
key_vault_namespace="encryption.__keyVault",
296296
kms_providers={
297297
"aws": {
298298
"accessKeyId": "your-access-key-id",

0 commit comments

Comments
 (0)