We are updating the 1Password Community between 9am and 10am on June 5th. The web experience may be impacted during this time.
Forum Discussion
br8dy
3 years agoNew Contributor
cli 2.7.1 run command with arguments
I'm no able to pass a variable value as a parameter to a op run
command.
Example script:
export TOKEN="op://correct/refernece/path"
op run --no-masking -- terminus auth:login --email example@email.com --machine-token TOKEN
It seems like the parameters are getting ignored. Manually passing the token value does complete. I also get the correct value printed when trying the example script provided in the documentation
op run --no-masking -- printenv TOKEN
1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Browser:_ Not Provided
Referrer: forum-search:https://1password.community/search?Search=run%20with%20arguments