It’s Cybersecurity Awareness Month! Join our interactive training session, or learn about security and AI from 1Password experts.
Forum Discussion
WaitingForGuacamole
3 years agoOccasional Contributor
Is it possible to use the op CLI command to generate a password without creating a vault item?
I'd love to use 1Password CLI to generate passwords that I wish to store elsewhere (I know, I know, why would I ever want to do that? Well, to create passwords/secrets for Azure Key Vault, that other...
Former Member
3 years agoHey WaitingForGuacamole, thank you for your patience. You can use the --dry-run
flag along with --generate-password
to achieve that. Here's an example:
op item create --category password --generate-password --dry-run --format json | jq -r '.fields[0].value'
May I ask how your Azure integrations look at the moment/what Azure resources are you specifically using? We can help identify if https://developer.1password.com/docs/service-accounts/get-started/ is a better fit.
Best,
Arun