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

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: "").

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
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file