Scenarios
Storage Engine Redis/Valkey Edition supports two authentication methods: password-based access and password-free access. Users can choose flexibly based on their business security requirements.
Password Authentication: suitable for production environments with high security requirements, ensuring data access security through password authentication.
Password-Free Authentication: suitable for secure and controllable private network environments (such as the internal test environment of a VPC), simplifying the connection process.
Note:
For the sake of data security, you are not recommended to enable password-free access.
After password-free access is enabled, you are recommended to limit the number of accessing servers using a security group.
Memcached Edition only supports password-free access and does not support password authentication or creating new accounts.
Differences in Password-Free Access
The password-free authentication method of TencentDB for Redis differs from that of the Redis Community Edition:
|
After password-free access is enabled, the password in the access parameters is not empty. | Verification failed. | Verification succeeded. |
Setting Password-Free Access
Select password-free access when creating an instance
2. In the Set Password section on the purchase page, select Password-Free Authentication. After the instance is created successfully, it can be accessed without password.
Enable password-free access for existing instances
1. In the instance list, click Instance ID to enter the instance details page.
2. In the Configuration Info area of the Instance Details page, click Reset Password on the right of Connection Password.
3. The Reset Password dialog box is displayed. In the Set Password area, select Password-Free Access.
4. Click OK.
Viewing Password-Free Access Status
In the instance list, click an instance name to enter the Instance Details page, and check whether Password-Free Access is enabled in Configuration Info > Connection Password.
Disabling Password-Free Access
In Configuration Info > Connection Password, you can disable Password-Free Access by resetting your password in Reset Password.
|
| Resets password. If you leave the Password parameter empty, password-free access will be enabled. |