Signing back into the Community for the first time? You'll need to reset your password to access your account. Find out more.
Forum Discussion
Former Member
4 years agoCLI - non-interactive signin
Hello
Would it be possible to implement non-interactive signin in CLI?
Currently I use expect to handle signin process as I can't pass both secret and master pass at the same time. I'm getting...
Former Member
4 years agoHey @keram ,
You can pass your Master Password into the op signin
command: echo 'masterPassword' | op signin domain.1password.com email@mail.com 'secret-key'
You can also automate this in a script by making the masterPassword
part a variable and then echoing that variable, however it would require you to store your Master Password and Secret Key in plain text on the hard drive, which is a security vulnerability and should be thoroughly considered.