Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
XIII
4 years agoSuper Contributor
Can't use "op inject" in a script run with "op run" using 1Password Connect?
Situation:
* Script script1 contains op run --env-file=... -- script2
* Script script2 contains op inject -i ... -o ...
Observed behaviour:
```
➜ script1
No accounts configured f...
Former Member
4 years agoHey XIII,
Thank you for reaching out to us.
The issue here is that, when passing the environment to the spawned subprocess, op run filters all the CLI-related credentials (OP_SESSION, OP_CONNECT_... etc.). However, we recently realised that this offers no real security benefit, so the next release of the CLI should get rid of this behaviour. Stay tuned for that!
Best,
Horia