docs/daprdocs/content/en/reference/specs/bindings/redis.md

768 B

Redis Binding Spec

apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
  name: <NAME>
  namespace: <NAMESPACE>
spec:
  type: bindings.redis
  metadata:
  - name: redisHost
    value: <address>:6379
  - name: redisPassword
    value: **************
  - name: enableTLS
    value: <bool>
  • redisHost is the Redis host address.
  • redisPassword is the Redis password.
  • enableTLS - If the Redis instance supports TLS with public certificates it can be configured to enable or disable TLS.

Note: In production never place passwords or secrets within Dapr components. For information on securely storing and retrieving secrets refer to Setup Secret Store

Output Binding Supported Operations

  • create