Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
davidmartos96
4 years agoOccasional Contributor
Option --fields not working on some items
Hello!
I was trying the new CLI version, but I encountered with a strange issue when using the op item get {someId} with the fields option.
To begin with, if I omit the fields option, I can se...
davidmartos96
4 years agoOccasional Contributor
@"Horia.Culea_1P" The item looks ok in edit mode from the 1Password LInux desktop app.
On the desktop app version 8.6.1
username, password and website
On the CLI using op item get {itemId} --format json
, I get all the fields posted in the previous comment.
On top of that, if asking for the password field (--fields password
), the CLI returns a totally different field, which in this case has the value "Create New Account". This "Create New Account" field is nowhere to be seen in the desktop app nor the browser extension. In 1password.com I can see other fields from my previous comment in the collapsable menu "Web Form Details". In particular the fields that don't have an ID but do have a label in the json output.
But the field with the contents "Create New Account" doesn't appear in any client. In particular this field doesn't have an ID nor a label in the json output, and it's making the CLI misbehave when asking for the password field, returning "Create New Account" instead of the actual password.