← Back to SKILL.md1Password CLI get-started (summary)
Official docs: https://developer.1password.com/docs/cli/get-started/
Core flow
- Install
op CLI.
- Enable desktop app integration in 1Password app.
- Unlock app.
- Run
op signin and approve prompt.
- Verify with
op whoami.
Multiple accounts
- Use
op signin --account <subdomain.1password.com>
- Or set
OP_ACCOUNT
Non-interactive / automation
- Use service accounts and
OP_SERVICE_ACCOUNT_TOKEN
- Prefer
op run and op inject for runtime secret handling