This feature is only available as part of 1Password Unlock with SSO.
Requirements
Before you start, you’ll need to:- Join your team, or switch to unlock with SSO.
- Install the latest version of 1Password for Mac, Windows, or Linux.
- Sign in to 1Password for Mac, Windows, or Linux using SSO.
- Install the latest Password CLI build.
Step 1: Connect 1Password CLI with the 1Password app
To turn on the app integration and set up 1Password CLI to authenticate with your identity provider:- Mac
- Windows
- Linux
- Open and unlock the 1Password app.
- Select your account or collection at the top of the sidebar.
- Navigate to Settings > Developer. Open Developer settings if 1Password is installed on this device.
- Select Integrate with 1Password CLI.
- If you want to authenticate 1Password CLI with your fingerprint, turn on Touch ID in the app.
Step 2: Sign in with SSO
Once the 1Password app integration is turned on, open the terminal and typeop signin. Use the arrow keys to select your SSO-enabled account from the list of all accounts added to your 1Password app. 1Password CLI will prompt you to authenticate.
--account flag or an environment variable.
Troubleshooting
- Prompted for a Secret Key instead of SSO? This means the CLI is trying to sign in directly instead of through the app integration. Confirm the app integration is turned on (Step 1), then try again.
- If the account doesn’t allow biometric unlock, you’ll be prompted to allow 1Password CLI access to the 1Password app the first time you sign in instead of using your fingerprint.
- Managed devices: your organization’s administrator controls who has 1Password Unlock with SSO turned on. If you don’t see the option, check with your administrator.