cancel
Showing results for 
Search instead for 
Did you mean: 

How to autogenerate a specific password

VincyJelsingh
New Contributor

I am trying to create an account in Google AD for which there are mandatory fields such as given name, surname, email and password. For the password, I would like to auto generate random passwords of 8 characters of which 2 are uppercase, 1 number and 1 special character. Is there an expression that could help me achieve this?

6 REPLIES 6

Hello Bojan,

Thank you for your help. I was able to do a python script for the same and it works as expected, thank you.

I probably forgot the join function 🙂 Just add .join('') at the end.