Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
Former Member
3 years agoHow to inject secrets int oenvironment variables when using multiple accounts?
I use multiple accounts and look into using secret references as my environment variables.
How to I achieve this with multiple accounts:
https://i.imgur.com/MgDdoTB.png
This example above wor...
Jack_P_1P
1Password Team
3 years agoHi @dzhi:
Great question! It's only possible for 1Password CLI to be signed into a single 1Password account at a time.
For example, if I run op signin
, I can pick between my work account, and my personal account, and any references I use would be are op://<vault name>//<item name>//<field>
.
Would you mind sharing a bit more about your use case where you need secrets from two accounts?
Jack