Signing back into the Community for the first time? You'll need to reset your password to access your account. Find out more.
sdk
1 Topicsyntax/usage to cli-add a field to *existing* vault/item ?
on distro Name: Fedora Linux 41 (Forty One) Version: 41 Codename: uname -rm 6.13.4-200.fc41.x86_64 x86_64 i've installed/run rpm -qa | grep -i 1pass 1password-cli-2.30.3-1.x86_64 1password-8.10.60-1.x86_64 op -v 2.30.3 i create a new vault + SecureNote item, init'ing two fields _MY_VAULT="TEST-VAULT" _MY_ITEM="TEST.ITEM" op item create \ --title="${_MY_ITEM}" \ --category="Secure Note" \ --vault ${_MY_VAULT} \ _TESTA="testA" \ _TESTB="testB" checking _item_id=$(op item get "${_MY_ITEM}" --vault ${_MY_VAULT} | grep ^ID: | awk '{print $2}') op item get "${_item_id}" ID: ekxcd5dg4e4mpvcferew243tw5 Title: TEST Vault: TEST-VAULT (vwp6fmew22q5h2pbpugpna3rbk) Created: 3 minutes ago Updated: 3 minutes ago Favorite: false Version: 1 Category: SECURE_NOTE Fields: _TESTA: [use 'op item get ekxcd5dg4e4mpvcferew243tw5 --reveal' to reveal] _TESTB: [use 'op item get ekxcd5dg4e4mpvcferew243tw5 --reveal' to reveal] op item get ekxcd5dg4e4mpvcferew243tw5 --reveal | grep Fields: -A3 Fields: _TESTA: testA _TESTB: testB how do i now ADD a third field, specifically: _TESTC="testC" to the EXISTING item -- NOT creating a new one?10Views0likes0Comments