Skip to content

Commit

Permalink
GODRIVER-2360 replace admin db in CSFLE examples (#894)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinAlbs committed Apr 3, 2022
1 parent 3d60e91 commit b8d17a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mongo/client_side_encryption_examples_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func Example_clientSideEncryption() {
"key": localKey,
},
}
keyVaultNamespace := "admin.datakeys"
keyVaultNamespace := "encryption.__keyVault"

uri := "mongodb://localhost:27017"
autoEncryptionOpts := options.AutoEncryption().
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit b8d17a9

Please sign in to comment.