1password
bởi steipete
Security & PasswordsTóm tắt
Set up and use 1Password CLI (op).
Mô tả
Kỹ năng này làm gì
Handles installing and configuring the 1Password CLI (op) and integrating it with the 1Password desktop app. Covers single and multi-account sign-in flows, reading vault items, and injecting secrets into processes without writing them to disk.
Using op run and op inject keeps secrets out of shell history, environment files, and logs without any extra tooling.
Khi nào nên dùng
- Injecting API keys from a vault into a deploy script
- Signing into multiple 1Password accounts from the terminal
- Running commands with secrets via op run without touching disk
- Setting up 1Password CLI on a new machine
- Verifying vault access before automated secret reads
Quy trình ví dụ
User asks: Run my deploy script with AWS credentials from 1Password
- 1
Check op --version to confirm CLI is installed
- 2
Verify desktop app integration is enabled and app is unlocked
- 3
Create a fresh tmux session with a unique socket and session name
- 4
Run op signin inside tmux and authorize in the desktop app
- 5
Execute the deploy script via op run -- ./deploy.sh to inject secrets
Deploy script runs with AWS credentials injected directly from the 1Password vault, nothing written to disk
Yêu cầu
- 1Password account (individual or team subscription)
- 1Password desktop app installed and unlocked
Cài đặt
clawhub install steipete/1passwordChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.