How to config the redis username and password #35287
Replies: 1 comment
-
You can configure Redis authentication in Superset by setting the username and password in your Redis connection settings. For most deployments, you can use environment variables or configuration files. If you are using the Helm chart, set the following environment variables: For direct configuration in Superset (for example, with async queries or caching), you can use the GLOBAL_ASYNC_QUERIES_CACHE_BACKEND = {
"CACHE_TYPE": "RedisCache",
"CACHE_REDIS_HOST": "your_redis_host",
"CACHE_REDIS_PORT": 6379,
"CACHE_REDIS_USER": "your_username",
"CACHE_REDIS_PASSWORD": "your_password",
"CACHE_REDIS_DB": 1,
"CACHE_DEFAULT_TIMEOUT": 300,
} Reference: superset/config.py If you use a Redis URL (for Celery or other integrations), include the username and password in the URL as per the Redis URI spec: If you only see password support in your environment, make sure your Superset version and Redis client both support ACL (username) authentication, as older setups may only use password. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I hava a redis which has identity authentication,
I can't find redis username and password in env properties file. So how to config the redis username and password.
Beta Was this translation helpful? Give feedback.
All reactions