Skip to main content
August 11, 2024
Question

Automate logging into 1Password CLI V2

  • August 11, 2024
  • 4 replies
  • 122 views

Like question in https://1password.community/discussion/121784/automate-logging-into-1password-cli, how can I do this in 1Password CLI V2? I tried the command echo "MYPASSWORD" | eval $(op signin) but it doesn't work.

My need is to be able to automate logging into my account so that I can use 1password-cli to backup all data regularly. Is there a better solution to this need?


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Browser: Not Provided

4 replies

AlyciaAuthor
August 11, 2024

Like question in https://1password.community/discussion/121784/automate-logging-into-1password-cli, how can I do this in 1Password CLI V2? I tried the command echo "MYPASSWORD" | eval $(op signin) but it doesn't work.

My need is to be able to automate logging into my account so that I can use 1password-cli to backup all data regularly. Is there a better solution to this need?


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Browser: Not Provided

AlyciaAuthor
August 11, 2024

Like question in https://1password.community/discussion/121784/automate-logging-into-1password-cli, how can I do this in 1Password CLI V2? I tried the command echo "MYPASSWORD" | eval $(op signin) but it doesn't work.

My need is to be able to automate logging into my account so that I can use 1password-cli to backup all data regularly. Is there a better solution to this need?

luckman212
September 8, 2024

@Alycia Did you ever get your answer on this?

AlyciaAuthor
September 8, 2024

@luckman212 try eval $(echo "PASSWORD" | op signin)