Skip to main content
January 24, 2022
Question

[45] Quick way to check if logged in

  • January 24, 2022
  • 2 replies
  • 64 views

with V1 I was using op get account to check if I had previously signed in. Now with V2 that's now op account get.

However that still takes a second or so to respond (which when across multiple scripts mounts up).
Would it be possible to get something like op status which could just return quickly whether there is a current logged session or is there a better way?


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided

2 replies

January 27, 2022

Hey, @AndyQ , thank you for your feedback!
I definitely see the value in having a command to confirm the signed in status.
Could you give us some more information about your use case? What would you like to see in the output of such a command?
Thank you once again for trying out our beta, and keep the good suggestions coming!

Best,
Horia

January 30, 2022

Ideally, you'd call a status call and it would return either the knows accounts and a signed in status, or you could also include an account name parameter and it would return signed in or not signed in for that account.