Retrieve password and OTP in a single CLI command
I'm trying to automate a VPN connection using 1password CLI.
I managed to make it work successfully by requesting password and OTP in two steps, but this is currently requiring two separate 1password authentications, which is quite slow.
I was wondering if there is a command to retrieve both secrets at a time.
I tried using op item get itemId --fields password --otp, but I get the error cannot use '--otp' and '--fields' together.
If I use instead op item get itemId --fields=password,"onetime password" the otpauth:// reference is returned, which is useless in my situation.
I read something about secrets reference and the op read command but I'm not sure wether it may help.
Thanks
1Password Version: 8.10.28
Extension Version: 2.26.1
OS Version: Windows 11
Browser: Not Provided
