Skip to main content

Redis Connector

Redis Redis is an in-memory data structure store used as a key-value database, cache, and message broker. The Redis component provides the ability to create, read, update, and delete data inside a Redis database.

API Documentation

This component was built using the Redis command reference.

Connections

Redis Connection

Authenticate requests to a Redis server.

A Redis connection requires host and port information, along with optional authentication and TLS configuration.

Prerequisites

  • A Redis server instance accessible from the network
  • Authentication credentials if the server requires them

Configure the Connection

  • Host: Enter the hostname or IP address of the Redis server
  • Port: Enter the Redis server port (default is typically 6379)
  • Password: Enter the Redis server password
  • Username: Enter the Redis username (optional - required only if ACL-based authentication is enabled)
  • Database: Enter the logical database number to connect to (optional, e.g., 0)

TLS Configuration

For encrypted connections, enable TLS and provide the necessary certificates:

  • Use TLS: Set to true to enable TLS for the connection
  • Client Key: Provide the client private key for mutual TLS authentication (optional)
  • Client Certificate: Provide the client certificate for mutual TLS authentication (optional)
  • CA Certificate: Provide the CA certificate to verify the server's identity (optional - if not provided, the server certificate is not verified)
InputCommentsDefault
HostProvide the string value for the host of the server.192.168.0.1
PortThe port of the redis server.
Password
Username
DatabaseSelect a logical database to connect to.
Use TLSSet to true to enable TLS for the connection.false
Client KeyProvide the client key for the TLS connection.
Client CertificateProvide the client certificate for the TLS connection.
CA CertificateProvide the CA certificate for the TLS connection. If not provided, the connection will not be verified.

Actions

Delete Key

Delete the value of a key

InputCommentsDefault
KeyProvide a string value for key of the item.
Connection

Flush All

Delete all the keys of all the existing databases, not just the currently selected one

InputCommentsDefault
Connection

Get

Get the value of a key

InputCommentsDefault
Connection
KeyProvide a string value for key of the item.

Get Time

Get the local time of the redis server

InputCommentsDefault
Connection

Keys

Returns all keys matching a specified pattern

InputCommentsDefault
KeyProvide a string value for key of the item.
Connection

Ping

Send a ping to the redis server

InputCommentsDefault
Connection

Set

Set the value of a key

InputCommentsDefault
KeyProvide a string value for key of the item.
ValueProvide a string for the value to be set.
Connection