- Enable 1-Password CLI in the developer tab inside settings for the chosen 1Password account
- Download the CLI utility using
brew install 1password-cli
# see op version
op --version
# Select the account
op signin
# see all accounts
op account list
# see all vaults inside an account
op vault list
# see a specific password
# Here we put the password name in quotes as it has a space
# last part 'password' refers to the field we want to extract. We can extract meta-data also
op read op://Personal/"Lazada 2023"/password