generating passwords with the CLI
A few questions regarding password generation
- Is the "memorable" password recipe available with the CLI tool? It doesn't appear to be
- Is there a way to generate passwords for arbitrary fields?
- Is there a way to have
op
generate a password without editing an item?- I'd like to programmatically create a new item from a template and populate certain fields with passwords before calling
op create item
- I'd like to programmatically create a new item from a template and populate certain fields with passwords before calling
I can do all of the above with an external utility or library, but it'd be nice for op
to be a one-stop-shop for all your password needs.
Thanks,
Zach
1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Sync Type: Not Provided
Comments
-
Hey @zcutlip ,
The CLI can generate passwords only when you interact with an item, meaning you can use the
--generate-password
variable when using theop add item
orop edit item
orop create item
commands.Our CLI reference guide contains all the info and some examples of how to use it, and which recipe variables you can change when generating a password: https://support.1password.com/command-line-reference
Memorable passwords are not possible as of now, but you can control the length of a password and if it will contain digits and symbols .
0