[Cache] Document Redis auth option and DSN username/auth parameters#21996
Open
ckrack wants to merge 3 commits intosymfony:6.4from
Open
[Cache] Document Redis auth option and DSN username/auth parameters#21996ckrack wants to merge 3 commits intosymfony:6.4from
ckrack wants to merge 3 commits intosymfony:6.4from
Conversation
Member
|
Cool thanks. |
MrYamous
reviewed
Feb 13, 2026
| The DSN can specify either an IP/host (and an optional port) or a socket path, as well as a | ||
| password and a database index. To enable TLS for connections, the scheme ``redis`` must be | ||
| replaced by ``rediss`` (the second ``s`` means "secure"). | ||
| username, password and a database index. To enable TLS for connections, the scheme ``redis`` |
Contributor
There was a problem hiding this comment.
I cannot add a suggestion on a line which is not updated, but I think we could use an before username
Member
|
Let's account for symfony/symfony#63391 here also, and likely update the messenger doc too. 🙏 |
Contributor
Author
Should i target 7.4 then? |
Member
|
Ah right, yes, 7.4 is good enough |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR documents the previously undocumented
authconnection option for the Redis cache adapter and improves the DSN authentication examples.Changes:
defaultauth[]query parameter syntaxauthoption in the options array and the "Available Options" sectionauthoption (credentials must be provided via DSN)Context:
This was requested in the discussion on symfony/symfony#63324, where it was pointed out that the
authparameter was undocumented.