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
Comments
-
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,
Andi0 -
Hey Andi, that worked, thanks!
0 -
Glad that worked for you! Let us know if we can help with anything else.
Best,
Horia0