Overview
This guide describes the authentication mechanisms that the Kotlin Sync driver supports. Authentication mechanisms are processes by which the driver and server confirm the identity of a client to ensure security before connecting.
Tip
Connect to MongoDB
To learn how to connect to MongoDB by using the Kotlin Sync driver, see the Create a MongoClient guide.
MongoDB Edition Compatibility
The following table lists the authentication mechanisms supported by MongoDB and the MongoDB Server editions that each mechanism is compatible with. Click the name of a mechanism to learn more about how to use it with your application.
Authentication Mechanism | Atlas | Enterprise Advanced | Community |
---|---|---|---|
Yes | Yes | Yes | |
Yes | Yes | Yes | |
Yes | No | No |