1password
بواسطة steipete
Security & Passwordsموجز
Set up and use 1Password CLI (op).
الوصف
ما الذي تفعله هذه المهارة
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.
متى تستخدمها
- 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
مثال على سير العمل
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
المتطلبات
- 1Password account (individual or team subscription)
- 1Password desktop app installed and unlocked
التثبيت
clawhub install steipete/1passwordشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.