Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Former Member
4 years agoop signout does not work
Currently my device and session are tied to my main account for CLI. I'm trying to switch my default account to a secondary service account to run scripts. Whenever I try to run scripts using a servi...
Former Member
4 years agoHey @sazquatch
I think I may be able to offer some assistance.
I am surprised that you are getting an error when trying to sign into your (secondary) service account while signed into the primary account. Our CLI can handle switching the "active" account by running op signin <secondaryAccount>. At first glance, it sounds like a bug and I'd like to help resolve it.
I am having trouble replicating this issue, as I've just tried the following:
- Sign into primary account -
op signin <primaryShorthand> - Perform some
opoperations to confirm, such as.op get account - Sign into secondary account -
op signin <secondaryShorthand> - Perform some
opoperations to confirm - Sign out of secondary account via
op signout --forget
Would you be able to post the exact error output when trying to sign into the secondary account?
Also, when you mention running commands like op signout --account shorthand --forget, is shorthand the shorthand's name? You can confirm that an account with such shorthand exists by running op signin --list to see a list of accounts you've successfully signed onto op with.