Skip to main content

generate a passphrase

Using the generate command with the --passphrase option, you can generate a passphrase instead of a password:

bsafe generate --passphrase --words <words> --separator <separator>

bsafe generate --passphrase will generate a 3-word passphrase separated by a dash (-) if no options are specified. This is the equivalent of passing:

bsafe generate --passphrase --words 3 --separator -

You can generate a complex passphrase using the following options:

  • --words <words> -number of words

  • --separator <separator> -separator character

  • --capitalize, -c -include to title-case the passphrase

  • --includeNumber - include numbers in the passphrase