Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Anonymous
4 years agoEnvironment variable interpolation
Hello!
I have a token stored in 1password and I'm trying to have it injected into another variable that holds the URL:
shell
export MY_TOKEN=op://foo/bar/token
export MY_URL=https://the_us...
Anonymous
4 years agoHey all,
Thanks for reaching out to us!
Currently, this is not possible. With op run, the environment is parsed all at once, and sourced all at once. Adding such a feature would mean sourcing each variable as soon as they're parsed. We have an internal issue tracking this, and will make sure to update you once there's any development around this.
Thank you for the patience!
Best,
Horia