op item get, so you can easily create new items based on existing items.
Each item category has its own template. You can get a list of all item categories with op item template list. And you can retrieve the template for an item category with op item template get <category>.
Item template keys
Item JSON templates have common language keys that allow you to identify how the fields in the template correspond to the item in 1Password.
Section
To add a custom section, insert a section JSON object into the
sections array.
View a section JSON object
View a section JSON object
To add a custom field to the template, insert a new field JSON object into the
fields array.
View a field JSON object
View a field JSON object
Example JSON representation
This is an itemmysql in the 1Password app, and the same item represented in an item JSON template.
- In the app
- In the JSON template
