-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add options to set the username or password separately for Redis #4346
Comments
6 tasks
bnjjj
added a commit
that referenced
this issue
Jan 12, 2024
Example of configuration: ```yaml title="router.yaml" supergraph: query_planning: experimental_cache: redis: #highlight-line urls: ["redis://..."] #highlight-line username: admin/123 # Optional, can be part of the urls directly, mainly useful if you have special character like '/' in your password that doesn't work in url password: admin # Optional, can be part of the urls directly, mainly useful if you have special character like '/' in your password that doesn't work in url timeout: 5ms # Optional, by default: 2ms ttl: 24h # Optional, by default no expiration ``` Fixes #4346 --------- Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
Merged
smihica
pushed a commit
to smihica/router
that referenced
this issue
Feb 17, 2024
…llographql#4453) Example of configuration: ```yaml title="router.yaml" supergraph: query_planning: experimental_cache: redis: #highlight-line urls: ["redis://..."] #highlight-line username: admin/123 # Optional, can be part of the urls directly, mainly useful if you have special character like '/' in your password that doesn't work in url password: admin # Optional, can be part of the urls directly, mainly useful if you have special character like '/' in your password that doesn't work in url timeout: 5ms # Optional, by default: 2ms ttl: 24h # Optional, by default no expiration ``` Fixes apollographql#4346 --------- Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Right now, the Redis username and password are set in the URL, but due to that we run into issues like aembke/fred.rs#186. We could add an option to set the username and password directly. This would also allow the password to be set from environment variables
The text was updated successfully, but these errors were encountered: