Create New Login Item to Include One-time Password Field
I've successfully updated a login item with an existing one-time password field using:
op item edit 'Postmaster [@example.com]' 'one-time password'='otpauth://totp/Example:postmaster@example.com%3C/legend%3E?secret=BASE64ENCODEDSTRING&issuer=Example2FA%20mail.example.com'
This https://1password.community/discussion/118927/creating-a-new-field-using-op-command-line-tool suggests it's not possible to create a new one-time password field for an existing login item using this method, but that it can be done by including the field in a template and then creating a new login item from that template.
This https://developer.1password.com/docs/cli/item-template-json gives examples of the keys/values required to create various fields, but doesn't mention the one-time password field. So, is what I'm trying to do possible, and if so, what values are required for the keys in the template?
Many thanks, Steve.
