Skip to main content

generate

The generate command generates a strong password or passphrase:

bsafe generate [--lowercase --uppercase --number --special --length <length> --passphrase --separator <separator> --words <words>]

If generate is run with no options, it will generate a 14-character password with uppercase characters, lowercase characters, and numbers. This is the equivalent of passing:

bsafe generate -uln --length 14

You can generate more complex passwords using the options available to the command:

  • --uppercase, -u - include uppercase

  • --lowercase, -l - include lowercase

  • --number, -n - include numbers

  • --special, -s - include special characters

  • --length <length> - length of the password, min of 5