Password policy for new user created

Hi,
I just created new users. But I need to enforce password policy like password has to be complex , min length , expiry date.
Can any one share how to achieve that.
It’s not shared in this course.

There is no such facility in mongodb.However you can use other security mechanisms

Check these links

Configure strong password user

Set user password expiry every 30 days

2 Likes