Generate a random password, or a passphrase with --words, and print it, copy it or store it.
Passphrase words come from the 2048-word BIP-0039 English list: each word adds 11 bits, so the default 6 words are 66 bits and 7 words are 77 bits.
With --into the value is stored in the vault and not printed unless --show is given; in an agent session that is the only form allowed.
--check-breach is off by default. When given, the first 5 characters of the SHA-1 hash of the value are sent to api.pwnedpasswords.com (k-anonymity); nothing else leaves this machine.
vaultfold generate [flags]
vaultfold generate --length 32
vaultfold generate --words 6 --separator .
vaultfold generate --into prod/db#password --check-breach
--check-breach check the value against api.pwnedpasswords.com before using it (sends 5 characters of its SHA-1 hash)
--clear-after duration clear the clipboard after this duration if unchanged (default from the profile, else 30s)
--copy copy the value to the clipboard instead of printing it
-h, --help help for generate
--identity string profile identity to unlock (with --into)
--into address store the value at this vault address instead of printing it
--length int password length, 1 to 128 (default 20)
--max-consecutive int longest run of one character allowed (0: no limit)
--no-digits leave out digits
--no-newline do not print a newline after the value
--no-symbols leave out symbols
--no-upper leave out upper case letters
--separator string separator between passphrase words (with --words) (default "-")
--show with --into, also print the value
--symbols set use this set of printable ASCII characters as the symbols
--type string entry type of a new entry with --into (default login)
--words n generate a passphrase of n words, 4 to 20 (11 bits per word); excludes the password flags (default 6)
--json print exactly one JSON document on stdout
--vault name select a vault from the registry by name