From 318d0e83786792060752313efccf12ce6d60ca23 Mon Sep 17 00:00:00 2001 From: Kevin Albertson Date: Thu, 31 Mar 2022 18:09:06 -0400 Subject: [PATCH] GODRIVER-2360 replace admin db in CSFLE examples --- mongo/client_side_encryption_examples_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mongo/client_side_encryption_examples_test.go b/mongo/client_side_encryption_examples_test.go index 85bd4be074..2680849013 100644 --- a/mongo/client_side_encryption_examples_test.go +++ b/mongo/client_side_encryption_examples_test.go @@ -30,7 +30,7 @@ func Example_clientSideEncryption() { "key": localKey, }, } - keyVaultNamespace := "admin.datakeys" + keyVaultNamespace := "encryption.__keyVault" uri := "mongodb://localhost:27017" autoEncryptionOpts := options.AutoEncryption(). @@ -68,7 +68,7 @@ func Example_clientSideEncryption() { } func Example_clientSideEncryptionCreateKey() { - keyVaultNamespace := "admin.datakeys" + keyVaultNamespace := "encryption.__keyVault" uri := "mongodb://localhost:27017" // kmsProviders would have to be populated with the correct KMS provider // information before it's used.