Skip to content

Commit b8d17a9

Browse files
authored
GODRIVER-2360 replace admin db in CSFLE examples (#894)
1 parent 3d60e91 commit b8d17a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mongo/client_side_encryption_examples_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func Example_clientSideEncryption() {
3030
"key": localKey,
3131
},
3232
}
33-
keyVaultNamespace := "admin.datakeys"
33+
keyVaultNamespace := "encryption.__keyVault"
3434

3535
uri := "mongodb://localhost:27017"
3636
autoEncryptionOpts := options.AutoEncryption().
@@ -68,7 +68,7 @@ func Example_clientSideEncryption() {
6868
}
6969

7070
func Example_clientSideEncryptionCreateKey() {
71-
keyVaultNamespace := "admin.datakeys"
71+
keyVaultNamespace := "encryption.__keyVault"
7272
uri := "mongodb://localhost:27017"
7373
// kmsProviders would have to be populated with the correct KMS provider
7474
// information before it's used.

0 commit comments

Comments
 (0)