This feature is only available as part of the Unlock with Microsoft beta.
Requirements
Before you start, you’ll need to:- Join your team, or switch to unlock with Microsoft.
- Install the nightly release of 1Password for Mac, Windows, or Linux.
- Sign in to 1Password for Mac, Windows, or Linux using Microsoft.
- Install the latest 1Password CLI beta build.
Step 1: Connect 1Password CLI with the 1Password app
To turn on the app integration and set up 1Password CLI to authenticate with Microsoft:- Mac
- Windows
- Linux
- Open and unlock the 1Password app.
- Select your account or collection at the top of the sidebar.
- Navigate to Settings > Developer.
- 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 Microsoft
Once the 1Password app integration is turned on, open the terminal and typeop signin. Use the arrow keys to select your Microsoft-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.