| name | 1password |
| description | Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in, or reading/injecting/running secrets via op. |
| homepage | https://developer.1password.com/docs/cli/get-started/ |
| metadata | {"openclaw":{"emoji":"🔐","requires":{"bins":["op"]},"install":[{"id":"brew","kind":"brew","formula":"1password-cli","bins":["op"],"label":"Install 1Password CLI (brew)"}]}} |
1Password CLI
Manage secrets through the 1Password CLI (op).
Setup
- Install:
brew install 1password-cli
- Enable desktop app integration in 1Password preferences
- Sign in:
op signin
- Verify:
op whoami
Common Commands
op vault list
op item get "Item Name" --vault "Vault"
op read "op://Vault/Item/field"
op run --env-file=.env -- your-command
op inject -i template.env -o .env
Best Practices
- Use
op run or op inject instead of writing secrets to disk
- Never paste secrets into logs, chat, or code
- Use
--account flag for multi-account setups