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...
hotfix
3 years agoNew Contributor
I would love for the possibility to use secrets from multiple accounts in my env file. For example:
PERSONAL_ENV_VAR="op://Personal/item/password"
BUSINESS_ENV_VAR="op://Private/item/password"
Unfortunately, I then get:
Error executing CLI command: "Personal" isn't a vault in this account. Specify the vault with its ID or name.
Or:
Error executing CLI command: "Private" isn't a vault in this account. Specify the vault with its ID or name.
Depending on the account I am logged in with.
Is there any chance this will be possible in a future release?