Signin without prompts?
Is there a way to sign in to the CLI tool from a fresh install with a single command, without the prompts for Secret Key and password?
I need to run a batch job that periodically exports the audit log activity and the sign-in with multiple prompts is tricky in Python (have to use Python).
1Password Version: 1.3.0
Extension Version: Not Provided
OS Version: OS X 10.14.6
Sync Type: Not Provided
0
Comments
-
You can do
echo <master password> | op signin <url> <email> <secret key>
If you are doing this in a containerized environment though you should share a single device UUID across all runs (e.g. via the
OP_DEVICE
environment variable), otherwise you will register a new device every time the job runs (see also https://discussions.agilebits.com/discussion/114019/command-line-tool-version-1-1-x#latest).0
This discussion has been closed.