Skip to main content
Aug 11, 2022 4:35 PM UTC
Question

Querying item vault names via CLI tool

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
Aug 15, 2022 9:18 AM UTC

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

Aug 15, 2022 6:09 PM UTC

Hey Andi, that worked, thanks!

Aug 17, 2022 10:31 AM UTC

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

Best,
Horia