auth
AUTH
Apply for Redis Developer Course
|
Redis Regular Inspection / Technical Support
|
Redis Enterprise Server
|
|---|
Enter password
Set the password with requirepass in redis.conf.
You can also use redis-cli -a password.
For AUTH timing attacks, see
Release Note 2.6.0-RC6.
Example
| Command> | AUTH password |
| Result> | OK |
When using ACL
ACL (Access Control List) is available since Redis version 6.0.
ACL lets you log in as a specified user.
See here for details on ACL.
Example
| Command> | AUTH user password |
| Result> | OK |
Syntax
AUTH password | user password
- Available since version 1.0.0.
- User password is available since 6.0.
- Time complexity is O(1).
| << CONNECT | AUTH | HELLO >> |
|---|
Email
답글이 올라오면 이메일로 알려드리겠습니다.
