tencent cloud

Tencent Cloud Distributed Cache (Redis OSS-Compatible)

Release Notes and Announcements
Release Notes
Announcements
User Tutorial
Product Introduction
Overview
Product Strengths
Use Cases
Storage Engine
Product Series
Product Versions
Specifications and Performance
Read/Write Separation
Multi-AZ Deployment
Regions and AZs
Terms
Service Regions and Service Providers
Purchase Guide
Billing Overview
Pricing Center
Instance Purchasing
Renewal (Yearly/Monthly Subscription)
Refund (Yearly/Monthly Subscription)
Overdue Payments
Switching from Pay-as-You-Go to Yearly/Monthly Subscription
Getting Started
Quickly Creating an Instance
Connecting to Redis Instance
Operation Guide
Operation Overview
Connecting to a Database Instance
Managing Instances
Upgrade Instance
Management Node (Redis/ValKey Edition)
Multi-AZ Deployment Management
Backup and Restoration
Managing Accounts
Parameter Configuration
Slow Query
Access Management
Network and Security
Monitoring and Alarms
Event Management (Redis/ValKey Edition)
Data Migration
Global Replication for Redis Edition
Database Audit
Performance Optimization
Sentinel Mode
Development Guidelines
Naming Rules
Basic Usage Guidelines
Design Principles of Key and Value
Command Usage Guidelines
Design Principles of Client Programs
Connection Pool Configuration
Command Reference
Command Reference Overview
Redis Edition and Valkey Edition Command Compatibility
Version Command Usage Differences
Differences Between the Proxy Architecture and Direct Connection Mode
More Command Operations (Redis/Valkey Edition)
Memcached Edition Command Compatibility
Practical Tutorial
Building TencentDB for Redis® Client Monitoring Based on Spring Boot
Redis Client Connection Configuration Policy and Practice
Global SCAN Guide for Cluster Architecture
Eliminating Instances Securely
Hot Key and Big Key
AZ Migration Scheme
Troubleshooting
Connection Exception
Exception Analysis and Solution of Redisson Client Timeout Reconnection
Performance Troubleshooting and Fine-Tuning
API Documentation
History
Introduction
API Category
Making API Requests
Instance APIs
Parameter Management APIs
Other APIs
Backup and Restoration APIs
Region APIs
Monitoring and Management APIs
Log APIs
Data Types
Error Codes
FAQs
General
Connection and Login
Purchase
Service Agreement
Service Level Agreement
Terms of Service
Glossary
Contact Us

Password-Free Access

PDF
Focus Mode
Font Size
Last updated: 2026-02-04 15:29:51

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:
Scenario
TencentDB for Redis®
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

1. Log in to the TencentDB for Redis® console, and click Create Instance in the instance list.
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.
API
Description
Resets password. If you leave the Password parameter empty, password-free access will be enabled.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback