Level up your business security with free, on-demand training and certification. Explore 1Password Academy today →
Forum Discussion
Anonymous
4 years agoDisable 2FA for 1 account when Enforce two-factor authentication is enabled
Can we white list an account to not use 2FA when Enforce two-factor authentication is set for all users?
how can we use CLI in Automation with 2FA?
1Password Version: Not Provided
Extensi...
Anonymous
4 years agoHey @PeterCharleston ,
We are currently designing service account users for use with the CLI, such accounts will use a token to authenticate instead of a login flow.
In the meantime, I understand that this situation can be frustrating, but please take a look into setting up a https://developer.1password.com/docs/connect/overview/ for your automation needs.
Also, for 1Password CLI v2.0.0 and above, a Connect server can also be used in conjunction with the CLI to retrieve items. Authentication can be done by https://developer.1password.com/docs/cli/reference/commands/read#flags to fetch items from the Connect server instead of the 1Password server as well. This would work for the op item get, op item read, op item inject, and op item run commands which can be used for retrieving secrets in automation.