Skip to main content
August 20, 2022
Question

How to use 1Password secrets as environment variables in Conda envs?

  • August 20, 2022
  • 0 replies
  • 162 views

I have different environments managed by Conda. I want to expose secrets stored in 1password as environmental variables when activating one specific condo environment.

Conda activate works only on terminal, but not from within a bash script. That means I can not use the suggest command:

op run --env-file='var.env' -- conda activate my_env_name


1Password Version: 8.8.0
Extension Version: Not Provided
OS Version: MacOS 2.5.1
Browser:_ Not Provided
Referrer: forum-search:https://1password.community/search?Search=conda