Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Former Member
4 years agoCLI: Multiple Accounts at the Same Time?
Can the CLI be logged into multiple accounts at the same time? The only way I have been able to access items in two different accounts is to login to one at a time.
1Password Version: Not Prov...
Former Member
4 years agoHey @markdorison, thank you for reaching out to us.
Do you mean retrieving items of different accounts with the same command, or without having to sign-in every time before retrieving items? I think both use-cases are achievable configuring an account filter, i.e. setting the --account flag or the $OP_ACCOUNT environment variables. Retrieving items of different accounts with the same command can be done with a command such as op item get item1 --account account1 && op item get item2 --account account2.
Let me know if this page of our developer documentation helps: https://developer.1password.com/docs/cli/use-multiple-accounts/#use-multiple-accounts-at-the-same-time
I am looking forward to hearing from you!
Best,
Horia