Skip to main content
August 11, 2022
Question

Querying item vault names via CLI tool

  • August 11, 2022
  • 3 replies
  • 229 views

I'm trying to obtain a list of 1Password items, their UUID's, and their vault names, in order to build a lookup table for Panther. However, no matter how I have structured the function specified in this documentation (https://docs.panther.com/guides/using-lookup-tables-1password-uuids) I haven't been able to extract the vault names for each item. Can anyone help?


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Browser:_ Not Provided

3 replies

1Password Employee
August 15, 2022

Hi @jbld, I took a first look at the provided Panther guide and I believe this slightly modified command should do the trick:


op item list --format json | jq -c '.[] | {uuid:.id,title:.title,vaultName:.vault.name,updatedAt:.updatedat}' >> 1passwordlookup.json

Let me know if you have further questions.

Best,
Andi

August 15, 2022

Hey Andi, that worked, thanks!

August 17, 2022

Glad that worked for you! Let us know if we can help with anything else.

Best,
Horia