Skip to content

Redis Sentinel : add password field for DSN to documentation #16310

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

Closed
aricci95 opened this issue Dec 22, 2021 · 1 comment
Closed

Redis Sentinel : add password field for DSN to documentation #16310

aricci95 opened this issue Dec 22, 2021 · 1 comment
Labels
Cache hasPR A Pull Request has already been submitted for this issue.

Comments

@aricci95
Copy link

Hi,

It took me 2 days of hard research to figure out how to add the password for the Redis Sentinel DSN, please add this information.

Correct Sentinel DSN with a password should look like this :
'redis:REDIS_PASSWORD@?host[REDIS_HOST1:REDIS_PORT1]&host[REDIS_HOST2:REDIS_PORT2]&redis_sentinel=SENTINEL_NAME&dbindex=DB_INDEX_NUMBER'

Regards,

Antoine.

@ToshY
Copy link
Contributor

ToshY commented Aug 26, 2022

I will make a PR for this, as this caused me so much pain when trying to figure it out (in this discussion).

@xabbuh xabbuh added hasPR A Pull Request has already been submitted for this issue. Cache labels Aug 27, 2022
javiereguiluz added a commit that referenced this issue Sep 14, 2022
…(ToshY)

This PR was merged into the 4.4 branch.

Discussion
----------

[Cache] fixes #16310 unclear alternate Redis DSN format

Fixes #16310

Resolved unclear documentation for providing credentials on alternate Redis DSN format.

Commits
-------

6286e3b fixes #16310 unclear alternate DSN format
javiereguiluz added a commit to javiereguiluz/symfony-docs that referenced this issue Sep 14, 2022
* 4.4:
  Removing heading
  fixes symfony#16310 unclear alternate DSN format
javiereguiluz added a commit to javiereguiluz/symfony-docs that referenced this issue Sep 14, 2022
* 5.4:
  Fixing "HTML5 color format" link
  Fixing path
  Removing heading
  fixes symfony#16310 unclear alternate DSN format
javiereguiluz added a commit to javiereguiluz/symfony-docs that referenced this issue Sep 14, 2022
* 6.0:
  Replace remaining annotations with attributes, remove remaining annotations configuration block
  Fixing "HTML5 color format" link
  Fixing path
  Removing heading
  fixes symfony#16310 unclear alternate DSN format
javiereguiluz added a commit to javiereguiluz/symfony-docs that referenced this issue Sep 14, 2022
* 6.1:
  Replace remaining annotations with attributes, remove remaining annotations configuration block
  Fixing "HTML5 color format" link
  Fixing path
  Removing heading
  fixes symfony#16310 unclear alternate DSN format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cache hasPR A Pull Request has already been submitted for this issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants