Proper way to check if authenticated

mickael
mickael
Community Member

Hi,

What's the proper way to check if we are authenticated and if our session is still active ?

Currently, I try to grab a template and check the exit code, but I was wondering if there was something better ?

Thanks,

Comments

  • cohix
    cohix
    1Password Alumni

    @mickael the fastest command would be op get account. We're have some ideas for a more standardized way of checking session "liveliness", but nothing being worked on as of yet.

This discussion has been closed.