Forum Discussion

Former Member's avatar
Former Member
3 years ago

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

  • Former Member's avatar
    Former Member

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

    Best,
    Horia

  • Former Member's avatar
    Former Member

    Hey Andi, that worked, thanks!

  • andi_t_1P's avatar
    andi_t_1P
    Icon for 1Password Team rank1Password Team

    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