Automate logging into 1Password CLI V2

Alycia
Alycia
Community Member
edited September 6 in CLI

Like question in 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

Comments

  • Alycia
    Alycia
    Community Member

    Like question in 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

  • Alycia
    Alycia
    Community Member

    Like question in 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
    luckman212
    Community Member

    @Alycia Did you ever get your answer on this?

  • Alycia
    Alycia
    Community Member

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