clavitor-cli generate
generate prints one new password, strong enough that nobody can guess it, so an agent or a script never has to make one up. It is the same generator the browser extension uses.
Usage
clavitor-cli generate
Example
Create a login with a fresh password, without the password ever appearing on screen or on disk:
clavitor-cli generate | clavitor-cli put credential "Staging DB" --username app --password-file -
The vault stores exactly the password generate made.
What you get
- 21 characters with 128 bits of randomness.
- At least one lowercase letter, one uppercase letter, one digit and one symbol. The symbols are common ones sites accept:
! # $ % & * + - = ? @ _ - No look-alike characters (
l,I,1,O,0), so you can type one by hand on a TV, a console or a borrowed laptop. - One kind of password, always.
generatetakes no options and refuses any it is given. - It runs on your machine and needs no vault or connection.
A site that caps passwords below 21 characters or refuses symbols cannot take one of these; set that password yourself.