[Cache] Document Redis auth option and DSN username/auth parameters#21996
[Cache] Document Redis auth option and DSN username/auth parameters#21996ckrack wants to merge 4 commits intosymfony:7.4from
Conversation
|
Cool thanks. |
| 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`` |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
There was a problem hiding this comment.
no, a/an is chosen by the sound of the following word. y-sounds like username, university etc use the consonant version. So the "a" should be correct.
|
Let's account for symfony/symfony#63391 here also, and likely update the messenger doc too. 🙏 |
Should i target 7.4 then? |
|
Ah right, yes, 7.4 is good enough |
e1ac58c to
10e0acf
Compare
|
@nicolas-grekas rebased onto 7.4 and added examples and notes to both component docs. Sorry for the codeowner ping @xabbuh, that's due to a rebase on 7.4 |
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.