TECHNOLOGY

Redis user off does not terminate already authenticated connections

In this article
THE QUICK TAKE

Test fresh authentication and existing-session revocation separately; off changes only the former boundary.

The operational scenario

A cache worker identity is disabled after a revocation event. A new Redis authentication attempt fails, and the operator records all access removed. Meanwhile a connection pool established earlier can still issue permitted commands. The apparent contradiction follows from distinct authentication and connection-lifecycle controls. Disabling future login does not by itself establish that existing authenticated channels were terminated.

The trust-boundary mechanism

Redis explicitly documents that setting an ACL user off prevents login while existing authenticated connections continue to work. Its documentation identifies separate ways to terminate old connections, including user-scoped connection killing or deleting the user. ACL DELUSER terminates connections authenticated as removed users, with a special exception that the default user cannot be deleted. These operations have different consequences and must not be treated as interchangeable flags.

Define the control contract

Define whether the incident action must block new sessions, remove commands, disconnect established sessions or stop the application itself. Identify every connection pool and the actual ACL principal, rather than relying on a client name. Choose an authorized revocation sequence with a separate administrative recovery path. A shared principal can affect unrelated workers, so its connection population must be understood before a live action is considered.

A step-by-step verification

First create a disposable nondefault user with access only to synthetic keys. Establish a persistent connection and verify a harmless permitted operation. Next disable that fixture user, testing the established connection and a fresh authentication attempt separately. Finally exercise the chosen connection-termination mechanism only within the fixture and observe reconnection behavior. Preserve whether the client automatically attempts a replacement session rather than hiding it behind a generic request failure.

Evidence required for acceptance

Acceptance requires user identity, old connection identity, fresh authentication outcome and the observed fate of established sessions. Record application retries after disconnection and any request whose result became uncertain. A command acknowledgment or removed-user count is not a complete account of every dependent process. Confirm that the administrative control connection is separate and retain no passwords or full cached user content in the review artifact.

Failure cases and limits

Disconnecting a client does not reverse completed cache writes or erase copies of data already read. Other Redis endpoints or credentials can supply separate authority. This article establishes the exact user-off limitation and an evidence pattern for session revocation; it does not perform revocation on a live cache or claim that a failed new login proves every historical session and external copy has disappeared.

Test fresh authentication and existing-session revocation separately; off changes only the former boundary. Redis ACL user disabling and existing connections; Redis ACL user deletion and disconnection.

The proposed investigation of redis user off existing authenticated connections is a proposed control review; no live security test was executed. Related reading: GPU cloud team access: API keys and SSH keys have different jobs; Persistent KV cache invalidation: when a prefix stops being reusable.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles