Files
wehub-resource-sync e04ed9c211
CF: Deploy Dev Docs / deploy (push) Has been cancelled
Sync Labels / build (push) Has been cancelled
tests / unit tests (macos-latest) (push) Has been cancelled
tests / unit tests (windows-latest) (push) Has been cancelled
tests / unit tests (ubuntu-latest) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:32:45 +08:00

4.3 KiB

title, linkTitle, type, weight, description, no_list
title linkTitle type weight description no_list
Redis Source Source docs 1 Redis is a in-memory data structure store. true

About

Redis is a in-memory data structure store, used as a database, cache, and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, and geospatial indexes with radius queries.

If you are new to Redis, you can find installation and getting started guides on the official Redis website.

Available Tools

{{< list-tools >}}

Requirements

Example

Redis

AUTH string is a password for connection to Redis. If you have the requirepass directive set in your Redis configuration, incoming client connections must authenticate in order to connect.

Specify your AUTH string in the password field:

kind: source
name: my-redis-instance
type: redis
address:
  - 127.0.0.1:6379
username: ${MY_USER_NAME}
password: ${MY_AUTH_STRING} # Omit this field if you don't have a password.
# database: 0
# clusterEnabled: false
# useGCPIAM: false
# tls:
#   enabled: false
#   insecureSkipVerify: false

{{< notice tip >}} Use environment variable replacement with the format ${ENV_NAME} instead of hardcoding your secrets into the configuration file. {{< /notice >}}

Memorystore For Redis

Memorystore standalone instances support authentication using an AUTH string.

Here is an example tools.yaml config with AUTH enabled:

kind: source
name: my-redis-cluster-instance
type: redis
address:
  - 127.0.0.1:6379
password: ${MY_AUTH_STRING}
# useGCPIAM: false
# clusterEnabled: false

Memorystore Redis Cluster supports IAM authentication instead. Grant your account the required IAM role and make sure to set useGCPIAM to true.

Here is an example tools.yaml config for Memorystore Redis Cluster instances using IAM authentication:

kind: source
name: my-redis-cluster-instance
type: redis
address:
  - 127.0.0.1:6379
useGCPIAM: true
clusterEnabled: true

Reference

field type required description
type string true Must be "redis".
address string true Primary endpoint for the Memorystore Redis instance to connect to.
username string false If you are using a non-default user, specify the user name here. If you are using Memorystore for Redis, leave this field blank
password string false If you have Redis AUTH enabled, specify the AUTH string here
database int false The Redis database to connect to. Not applicable for cluster enabled instances. The default database is 0.
tls.enabled bool false Set it to true to enable TLS for the Redis connection. Defaults to false.
tls.insecureSkipVerify bool false Set it to true to skip TLS certificate verification. Warning: This is insecure and not recommended for production. Defaults to false.
clusterEnabled bool false Set it to true if using a Redis Cluster instance. Defaults to false.
useGCPIAM bool false Set it to true if you are using GCP's IAM authentication. Defaults to false.