How can I have 2 websites added to a login item via CLI?
I am trying to automate adding logins to a vault via a linux server. I am creating a template command using op item create.
Here is my template:
op item create --category=login --title='Template' --vault='example' username='example' password='example' 'Example domain[url]=https://example.example.com' 'Example domain 2[url]=https://example.com' 'id string[text]=example'
This is the way that I found how to get both URLs in the record, but I am finding that because these URLs are not in the website field that comes with the login category, I am not getting autofill suggestions for either URL.
I am able to get just one of these URLs into the right field if I use --url as I have in the following example.
op item create --category=login --title='Template' --vault='example' *--url 'https://example.com'** username='example' password='example' 'Example domain[url]=https://example.example.com' 'id string[text]=example'*
but only the URL added via --url is able to be autofilled.
Is there a way to pass 2 different URLs into the record with op item create so that the record can be autofilled on either URL?
I know that this can be done by clicking on the '+ add another website' button in the app, but since the command would be run on a linux server, it is not able to click on this button in the 1Password 8 app. Any help with this is greatly appreciated. Thank you!
1Password Version: CLI 2.19.0
Extension Version: Not Provided
OS Version: Not Provided
Browser: Not Provided
