Skip to main content

1Password CLI

1Password CLI brings 1Password to your terminal. Sign in to 1Password CLI with your fingerprint, and securely access everything you need during development.

Use cases

Secret references

Eliminate plaintext secrets in code

Inject secrets from 1Password anywhere you need them.

Workflow automation

Automate administrative tasks

Use scripts to manage items and provision team members at scale.

Shell plugins

Sign in to any CLI with your fingerprint

Store API keys for your favorite CLIs in 1Password.

Get started

If you're installing 1Password CLI for the first time, start here.

If you're using an earlier version of 1Password CLI, learn how to upgrade.

Guides

Manage items and users

Provision secrets

Authenticate with biometrics

Use 1Password CLI with other tools

  • Use 1Password for VS Code to bring 1Password CLI functionality to VS Code.
  • Use 1Password Service Accounts to limit the vaults 1Password CLI can access or run automated scripts if your personal account uses SSO or MFA.
  • Use a 1Password Connect Server with 1Password CLI to securely access your items in your company's apps and cloud infrastructure using a private REST API.
  • Use 1Password CI/CD Integrations with 1Password CLI to allow jobs in your pipeline to securely access secrets stored in 1Password.

Reference documentation

Was this page helpful?