I'm trying the CLI on my Mac.
$ uname -a OS: Darwin MacBook Pro 17.6.0 Darwin Kernel Version 17.6.0: Tue May 8 15:22:16 PDT 2018; root:xnu-4570.61.1~1/RELEASE_X86_64 x86_64
$ op --version 0.5.2
$ op signin xxxxx.1password.com [email protected] A3-XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX Enter the password for [email protected] at xxxxx.1password.com: export OP_SESSION_xxxxx="SESSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" # This command is meant to be used with your shell's eval function. # Run 'eval $(op signin xxxxx)' to sign into your 1Password account. # If you wish to use the session token itself, pass the --output=raw flag value. $ export OP_SESSION_xxxxx="SESSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" $ op list items [LOG] 2018/08/17 11:11:44 (ERROR) You are not currently signed in. Please run `op signin --help` for instructions
But, when I do this, it works:
$ echo "SESSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" | op list items [ ...lots of JSON... ]
So, I guess that
op does not know for which subdomain to get the
OP_SESSION_xxxxx? And how would this work with multiple teams?
1Password Version: Not Provided
Extension Version: Not Provided
OS Version: 10.13.5
Sync Type: Not Provided