Retrieving the 'Login' object 'notes' field in the 'op' CLI
Do you know how to retrieve the 'Login' object 'Notes' field in the 'op' CLI ?
./op list items
does not output the 'Notes' field that is present as a field when creating a 'Login' item via the 1Password GUI. (Note: I am specifically looking to retrieve the Notes section of the Login object (#001), and not the 'Secure Notes' object (#003).
The fields that the 'list items' command outputs appears to be:
uuid
templateUuid
trashed
createdAt
updatedAt
changerUuid
itemVersion
vaultUuid
overview
- URLs
ainfo
ps
title
url
Thank you
1Password Version: 0.4.1
Extension Version: Not Provided
OS Version: Linux
Sync Type: Not Provided
Referrer: forum-search:notes field login object
Comments
-
Found the answer:
./op get itemincludes the 'notesPlain' field in the output.
0 -
Glad that did the trick! Indeed,
op get item <UUID>
will give you the full JSON for the item. You can also get inline help for virtually any command by appending--help
at the command line, e.g.op get --help
. But there's also the documentation, and we're here if you need us. Cheers! :)0