cmaksymenko / avalanchecms

Avalanche is a CMS for AI-generated art. Refine, safeguard and publish your works with confidence.
Apache License 2.0
3 stars 1 forks source link

Enable Redis Authentication #14

Open cmaksymenko opened 6 months ago

cmaksymenko commented 6 months ago

Description

Currently, our Docker Compose setup includes Redis as a Dapr backend for e.g. pub-sub. Redis is not configured to require a password, since it is a localhost deployment. This issue aims to track add Redis authentication support to ensure secure communication between Dapr and Redis.

Expected Behavior

Dapr should authenticate with Redis using a confidentially accessed credential specified in our Docker Compose setup. This will prevent unauthorized access and ensure that only our services can interact with Redis.

Current Behavior

Dapr connects to Redis without authentication, which could potentially expose Redis to unauthorized access.

Possible Solution

Steps to Reproduce

  1. Launch the Docker Compose setup
  2. Observe that Dapr components connect to Redis without requiring authentication, or
  3. Connect with e.g. Redis Insight to redis without specifying a secret