Forum Discussion

mjktfw's avatar
mjktfw
New Contributor
2 months ago

How to get/set url/webiste autofill behaviour through CLI

Hello,

I'd like to kindly ask if 1password CLI allows to get or set "autofill behaviour" attribute assigned to a specific website/url.
I didn't find such information in documentation, only a brief entry concerning attributes of fields other than website: https://developer.1password.com/docs/cli/secret-reference-syntax/#field-and-file-metadata-attributes
I've tried `op read` and `op item get` with no success: 

$ op read op://my-vault/my-entry/website?attribute=behaviour 
[ERROR] 2025/10/22 14:23:23 could not read secret 'op://my-vault/my-entry/website?attribute=behaviour': unknown query parameter value 'behaviour' for key 'attribute'. Supported values for this key are: value, type, title, id, designation, otp
$ op item get my-entry --format json | jq .urls 
[ { "label": "website", "primary": true, "href": "https://www.example.com/" } ]

 

No RepliesBe the first to reply