We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6c0bfd commit cd6e6f7Copy full SHA for cd6e6f7
test/integration/node-specific/examples/aws_handler.js
@@ -6,10 +6,6 @@ const { MongoClient } = require('mongodb');
6
// options. Note that MongoClient now auto-connects so no need to store the connect()
7
// promise anywhere and reference it.
8
const client = new MongoClient(process.env.MONGODB_URI, {
9
- auth: {
10
- username: process.env.AWS_ACCESS_KEY_ID,
11
- password: process.env.AWS_SECRET_ACCESS_KEY
12
- },
13
authSource: '$external',
14
authMechanism: 'MONGODB-AWS'
15
});
0 commit comments