Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
Former Member
4 years agomacOS op CLI not returning token
When using the latest (v2.3.0) 1Password CLI on latest OS X (arm64, using biometric auth), and I run op --signin <vault> --raw , it returns nothing. Without the flag also returns nothing, however su...
Former Member
4 years agoHi there @Gudlyf
This is definitely a bug on our end. From my testing, I have been able to replicate that the --raw
flag does not print the session token when used with biometric auth.
I've filed an issue to fix this.
I realize that this may be blocking your workflow for the immediate future, so here are some ways to have your Terraform be able to access 1Password secrets:
- Temporarily disable the CLI biometric authentication option in the desktop application's developer settings and run the sign in command as such:
op signin --force --raw --account ACCOUNT
(note: you may have to add the account manually viaop account add
if it has not been set up before) - Look into using https://developer.1password.com/docs/connect along with its https://developer.1password.com/docs/connect/get-started#step-3-set-up-applications-and-services-to-get-information-from-1password
I hope these options can alleviate your issues for now. Thank you for reporting the bug!