Overview
Auth-free access allows you to access your TencentDB instance quickly and efficiently, but it also exposes your instance to security threats. We recommend that you enable this feature only in test or maintenance scenarios and disable it during routine business operations.
Version Description
Currently, TencentDB for MongoDB versions 3.6, 4.0, 4.2, 4.4, 5.0, and 6.0 support auth-free access.
Note
Upgrading to the auth-free access version involves kernel upgrade and momentary disconnections.
Enabling auth-free access will require the instance to restart. It is advisable to enable this feature during off-peak hours.
Prerequisites
The TencentDB for MongoDB instance is in Running status.
On the Instance Details page, the status of Auth-Free Access is Not enabled yet.
Enabling Auth-Free Access
2. In the MongoDB drop-down list on the left sidebar, select Replica Set Instance or Sharded Cluster Instance. The directions for replica set instances and sharded cluster instances are similar.
3. Above the Instance List on the right, select the region.
4. In the instance list, find the target instance.
5. Click the instance ID to enter the Instance Details page.
6. On the Instance Details page, click Enable next to Auth-Free Access.
7. In the Enable Auth-Free Access pop-up window, confirm the impact of enabling this feature and click OK.
8. On the Instance Details page, wait until the instance status changes to Running. Once completed, Then, you can connect to the database using the private IPv4 address and port without the need for a username and password.
Disabling Auth-Free Access
On the Instance Details page, click Disable next to Auth-Free Access to disable this feature.
Relevant Operations
Was this page helpful?