how to add "SecureNote" type and preserve the newlines in the data

PXG743PXG743
Community Member

I am using: "op item create --template xyz.json --format json" command to upload a file that has three sections (id, label, value, ...). The create works however I am unable to use data (in the "value" attribute) that have newline (Linux "\n") in it. Can one of the SME(s) kindly provide guidance on how to resolve this issue? the newline is part of the data and without it MAC/Hash will fail. Thank you.
PS: I am running the tool in Linux, and accessing an enterprise version of 1Password (example: "acme-ent.1password.com").


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: RHEL 8.5
Referrer: forum-search:how to upload JSON template with newline

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file