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

Password policy for brocade_security_user_config #124

Open
jishnujittm opened this issue Apr 26, 2023 · 3 comments
Open

Password policy for brocade_security_user_config #124

jishnujittm opened this issue Apr 26, 2023 · 3 comments

Comments

@jishnujittm
Copy link

Hello team,
I'd like to check for the possibility of adding a password policy with brocade_security_user_config.
Currently the module accepts any plain text as password.

Is it possible to have some checks here to notify the user that the password should meet certain criteria (for e.g. Minimum length, usage of special characters etc.)?

@prasad-valmeti-broadcom
Copy link
Collaborator

We will explore the possibility and let you know in couple of days.

@prasad-valmeti-broadcom
Copy link
Collaborator

As per the brocade-security/user-config yang files, these are allowed limits to the password with the allowed values.
typedef user-password-type {
type string {
length "1..40";
pattern "[ -~]{1,40}";
pattern ":" {
modifier invert-match;
}
}
description
"Specifies a password for the account.";
}

Hope this answers your question. Please check at your end and let us know if it resolves your issue.

@prasad-valmeti-broadcom
Copy link
Collaborator

If there are no further issues, please suggest if we can close the issue.

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

No branches or pull requests

2 participants