1password
steipete tarafından
Security & PasswordsÖzet
Set up and use 1Password CLI (op).
Açıklama
Bu Beceri Ne Yapar
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.
Ne Zaman Kullanılır
- 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
Örnek İş Akışı
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
Gereksinimler
- 1Password account (individual or team subscription)
- 1Password desktop app installed and unlocked
Kurulum
clawhub install steipete/1passwordCLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.