I have signed into my Team using
op signin my-team.1password.com $MY_EMAIL $ACCOUNT_KEY and have successfully been able to
op get a password out.
That's a lot of details to provide just to sign in, so I don't want to do that every time.
op signin --help promises that, after doing that once, I can sign in using just the team name:
Note: When logged into an account at least once, you can then use this shorthand syntax thereafter: op signin [your-account-name] or: eval $(op signin [your-account-name])
But if I then try to sign in using that shorthand, I get an error:
> op signin my-team.1password.com [LOG] 2018/03/29 09:45:57 (ERROR) Account my-team.1password.com has never been signed into on this device, run 'op signin --help' to learn how to sign into an account for the first time
(Note: I added newlines in the error message to make it easier to read here.)
And yet, I can then go and run an op command and successfully fetch more data, so I have not only logged in once, but I am still logged in.
If I knew what means it's using to determine whether the account has ever been signed in, I likely could baby it along, but there's no info on mechanism here, just policy, so I can't un-wedge it. Perhaps you can help?
> sw_vers ProductName: Mac OS X ProductVersion: 10.12.6 BuildVersion: 16G1212 > op --version 0.3 > fish --version fish, version 2.7.1 > env | grep OP_SESSION_ | wc -l 1
1Password Version: 1Password Version 6.8.8 (688001) Mac App Store
Extension Version: N/A
OS Version: 10.12.6
Sync Type: Teams