Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
Nezteb
3 years agoNew Contributor
Feature Request: Generate random passwords with CLI via dedicated command (e.g. `op generate`)
There are a few past threads about this:
- December 2020: https://1password.community/discussion/117673/generating-passwords-with-the-cli
- March 2022: https://1password.community/discussion/1276...
Former Member
3 years agoHi @ubcpittet,
That's currently possible, actually! op item create --category password --generate-password --dry-run --format json | jq -r '.fields[0].value'
Cheers!
Amanda