Skip to content

Add an explanation for URI with -u in redis-cli#2604

Merged
zuiderkwast merged 2 commits intoredis:masterfrom
lowgiant:#2523-cli-u-uri-ex-add
Nov 22, 2023
Merged

Add an explanation for URI with -u in redis-cli#2604
zuiderkwast merged 2 commits intoredis:masterfrom
lowgiant:#2523-cli-u-uri-ex-add

Conversation

@lowgiant
Copy link
Contributor

It's good for users to know that they need to specify "default" as the username when authenticating without a username. Other details of the URI format are described too, like scheme and dbnum.

It used to be possible to connect to Redis using an URL with an empty username, like redis-cli -u redis://:PASSWORD@localhost:6379/0. This was broken in 6.2 (redis/redis#8048), and there was a discussion about it redis/redis#9186.
Now, users need to specify "default" as the username and it's better to document it.

Refer to redis/redis#12746 and #2523 for more details.

It's good for users to know that they need to specify "default" as the username when authenticating without a username. Other details of the URI format are described too, like scheme and dbnum.
@netlify
Copy link

netlify bot commented Nov 22, 2023

👷 Deploy request for redis-doc pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit ce50f5c

@lowgiant
Copy link
Contributor Author

Hi @zuiderkwast
Could you please look at this when you have sometime?

Copy link
Contributor

@zuiderkwast zuiderkwast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @lowgiant. Very nice!

@zuiderkwast zuiderkwast merged commit c2d73cd into redis:master Nov 22, 2023
@zuiderkwast
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants