# Install और Sign In — डेवलपर्स के लिए 1Password और Secrets Hygiene

Source: https://www.geekswithgeeks.com/hi/secrets-hygiene/op-install-signin

> `op` CLI install करें, उसे desktop ऐप से जोड़ें और sign in करें।

## Desktop ऐप integration उपयोग करें

Local में sign in का सबसे आसान और सुरक्षित तरीक़ा desktop ऐप integration है: 1Password settings (Developer) में इसे चालू करें, फिर CLI आपकी उंगली या system password से अनुमति माँगता है। Terminal में master password टाइप नहीं करना पड़ता।

## Reference अंदर, मान बाहर, disk पर कभी नहीं

आपके scripts सिर्फ़ references रखते हैं। जब command चलता है तब `op` CLI उन्हें असली मान में बदलता है।

![चार चरण: reference, authenticate, resolve, run।](assets/figures/secrets-hygiene/section-5-map.svg) — चित्र 5.1 — Reference, authenticate, resolve, run।

## जाँचें कि चल रहा है

Install जाँचें, फिर अपने vaults की सूची देखें। जिस पहले command को access चाहिए वह अनुमति का prompt लाता है।

```bash
op --version
op vault list
```

## Password export न करें

Master password या session token को shell history या environment files में न रखें। Local में biometric अनुमति और automation के लिए service account (आगे आएगा) उपयोग करें।

**Quiz:** अपने laptop पर op में sign in का सुझाया तरीक़ा क्या है?

- [ ] हर script में master password टाइप करें
- [ ] Repo में token commit करें
- [ ] अपने को Secret Key email करें
- [x] Biometric अनुमति के साथ desktop ऐप integration

*Answer:* Biometric अनुमति के साथ desktop ऐप integration. यह master password को terminal और files से बाहर रखता है।
