Docs / Redis

← Databases

Redis

The driver is built on the redis crate (RESP3 when the server speaks it, with rustls for TLS). It opens Redis 6 and later, and Redis Stack for JSON keys. The editor takes Redis commands, one per line. The driver is part of the app; nothing is downloaded.

Connect

You pasteRead as
redis://:s%40cret@cache:6380/3plain TCP, password only, database 3
redis://app:pw@cache/0an ACL user and its password
rediss://app:pw@cacheTLS (verified: verify-full)

The default port is 6379. The path (or the Database field) is the database number, 0 when empty; anything else is an error. The user and password are the ACL's: a password alone signs in as the default user.

TLS is on for rediss:// URLs and for SSL modes from require up (redis:// means no TLS and prefer does not turn it on, because Redis takes TLS on a port of its own). require does not check the certificate; verify-ca and verify-full do. A CA file and a client certificate go in the TLS fields. The session opens one connection per database it uses, because SELECT on a shared connection would move every other user of it.

Privileges

The ACL rules of the login decide what the navigator and the commands can do. The navigator reads INFO and, for each key type, runs SCAN … TYPE; browsing a type runs BROWSE, never KEYS. There are no administration tabs.

What works

What does not

Agents

run_query and sample_rows (BROWSE … LIMIT n) work; any command that is not a read is asked about first. The commands that show the server's credentials (ACL GETUSER, ACL LIST, and a CONFIG GET whose pattern matches a password setting) are refused to read-only agents. Refused on Redis: explain, get_er_diagram, propose_edits and query_across_databases. See Agents and the CLI.

Known limits

Tested on

The conformance suite runs on Redis Stack 7.4 (with RedisJSON): metadata, BROWSE on every type, commands and their errors, saving and undoing grid edits, cancel of blocking commands, ACL users and database selection, and a lost connection that reopens. Redis 6 is the lowest version the driver accepts but is not run by the suite.

See also: Connecting, Troubleshooting.