Skip to content
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

[NEW] Authentication policy #10983

Open
doufum opened this issue Jul 15, 2022 · 3 comments
Open

[NEW] Authentication policy #10983

doufum opened this issue Jul 15, 2022 · 3 comments

Comments

@doufum
Copy link

doufum commented Jul 15, 2022

Is it possible to add a policy for authentication.
For example, using a regular expression to qualify the rules for configuring passwords

@madolson
Copy link
Contributor

@doufum Hey, we are currently thinking about build a security extension for Redis that adds more "enterprise" security controls. This sounds like a good candidate for that.

For my understanding, you are expecting to be able to create some type of "policy" that creates a regular expression. If a user supplies a password that does not meet that regular expression, you want to throw an error?

@doufum
Copy link
Author

doufum commented Jul 28, 2022

Yes, I want to be able to configure the strength of the password, and it can be controlled by regular expression or other ways, if password is not satisfied, an error will be thrown on startup

@oranagra
Copy link
Member

I think this might be looking at redis passwords the wrong way (not the first time btw, since they're misnamed).
the auth password in redis is more of a shared secret between two pieces of software (ideally generated with ACL GENPASS or alike).
i'm not sure they're supposed to be something short that a person should remember, except for maybe testing infrastructure.

and anyway, even if they do, i think such validation (on password length etc), should reside in the software that configures redis (people aren't really add users to redis config file manually, right?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

3 participants