Is it possible to use 1password CLI on CI/CD scripts?

Community Member
in CLI


I use the CLI on my local environment, putting my password when prompted.

There is a way to use it on a fully automated CI/CD script?

I've tried, but when I run "op account add --address --email [email protected]" the password is prompted.

Do you have already used the CLI for that purpose?

Thank you for the help :)

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


    Community Member

    Yes, with a 1Password Connect server.

  • 7ieroc7ieroc
    Community Member


    I'll try it.

    Thanks XIII !

  • Horia.Culea_1PHoria.Culea_1P

    Team Member

    Hey @7ieroc, sorry for the late response.

    Indeed, 1Password Connect is the way to go here. Please let us know how onboarding on using Connect goes for you, and do not hesitate to reach out in the Secrets Automation forum, if you encounter any issues: here
    We're currently also exploring 1Password service accounts, which should solve this problem without needing to host Connect in your infrastructure. Stay tuned for updates about this!


  • Sadia.Azmal_1PSadia.Azmal_1P

    Team Member

    Hi @7ieroc ,

    I'm Sadia, a Product Manager at 1Password, and have some news that may be interesting to you. I am looking for some developers and administrators that would be interested in chatting with me about a new feature our team has been working on: Service Accounts. Earlier this year, we introduced the CLI 2.0, where users can use “run” and “inject” commands to substitute secret references for secrets stored in 1Password vaults. With our new Service Account capabilities, organizations can use a separate non-user account to control and manage access to secrets without deploying additional services like Connect.

    We are currently building service accounts to address use cases like yours and want to understand your pain-points and experiences with secrets management, and gather some feedback.

    If you are interested, please feel free to reach out to me at [email protected] or sign-up for a 30 minute slot on Calendly. I look forward to hearing from you :)

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file