Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
Former Member
4 years agoCLI V2 returns `-- fields` surrounded in double quotes, V1 didn’t
There is a pretty big breaking change in the CLI V2.
It now returns fields wrapped in double quotes.
Is this intended behavior? Any simple suggestion for getting it back to returning without thos...
Former Member
4 years agoI ran into this because I use op
to populate .tfvars
files for terraform. Here's my workaround:
op item get "${OP_ITEM}" --fields label=notesPlain --format json | jq -r '.value' > "${TF_FILENAME}"
jq
returns quoted strings by default for some reason too, but you can use the -r
(raw) option to disable that behavior.