> ## Documentation Index
> Fetch the complete documentation index at: https://www.1password.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# 1Password CLI

export const HighlightCard = ({title, preheader, link, src, darkSrc, children, useButton = true}) => {
  return <div className="bg-white dark:bg-zinc-900 border border-gray-200 dark:border-zinc-800 rounded-xl shadow-sm flex flex-col h-full not-prose overflow-hidden mb-4">
      {preheader && <div className="bg-gray-50 dark:bg-white/5 border-b border-gray-200 dark:border-white/10 px-6 py-3">
          <span className="text-sm font-medium text-gray-600 dark:text-gray-400 block">{preheader}</span>
        </div>}
      <div className="p-6 flex flex-col flex-grow">
        <h3 className="text-lg font-bold text-gray-900 dark:text-white mb-2 mt-0 flex items-center gap-2">
          {src && <>
              {darkSrc ? <>
                  <span className="dark:hidden">
                    <Icon icon={src} size={32} />
                  </span>
                  <span className="hidden dark:inline">
                    <Icon icon={darkSrc} size={32} />
                  </span>
                </> : <Icon icon={src} size={32} />}
            </>}
          {title}
        </h3>
        <div className="text-gray-600 dark:text-gray-300 mb-6 flex-grow leading-relaxed">{children}</div>
        {link && <div className="mt-auto">
            {useButton ? <a href={link.to} className="inline-flex items-center justify-center bg-[#0094FC] hover:bg-[#007acc] text-white font-medium py-2 px-4 rounded-lg transition-colors no-underline text-sm">
                {link.text || "Learn more"}
              </a> : <a href={link.to} className="highlight-card-link hover:opacity-80 font-medium hover:underline inline-flex items-center gap-1 group text-sm">
                {link.text || "Learn more"}
                <Icon icon="arrow-right" className="text-inherit" />
              </a>}
          </div>}
      </div>
    </div>;
};

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

<Columns cols={3}>
  <HighlightCard preheader="Secret references" title="Eliminate plaintext secrets in code" link={{ to: "/cli/use-cases#secrets", text: "Learn more" }}>
    Inject secrets from 1Password Environments anywhere you need them.
  </HighlightCard>

  <HighlightCard preheader="Workflow automation" title="Automate administrative tasks" link={{ to: "/cli/use-cases#automate", text: "Learn more" }}>
    Use scripts to manage items and provision team members at scale.
  </HighlightCard>

  <HighlightCard preheader="Shell plugins" title="Sign in to any CLI with your fingerprint" link={{ to: "/cli/use-cases#shell-plugins", text: "Learn more" }}>
    Store API keys for your favorite CLIs in 1Password.
  </HighlightCard>
</Columns>

## Quickstart

If you're installing 1Password CLI for the first time, [start here](/cli/get-started/).

## Guides

### Manage items and users

* [Create and retrieve items](/cli/item-create/).
* [Add and remove team members](/cli/provision-users/).
* [Manage your team members' vault permissions](/cli/grant-revoke-vault-permissions/).
* [Manage your team members' group permissions](/cli/reference/management-commands/group/).

### Provision secrets

* [Securely load environment variables from 1Password Environments into your applications](/cli/secrets-environment-variables/).
* [Access secrets in your code with secret references](/cli/secret-references/) instead of plaintext secrets. Secret references are replaced with the actual secrets they reference in 1Password at runtime.
* [Securely load secrets from the environment into your applications](/cli/secrets-environment-variables/) using secret references.
* [Securely inject secrets into configuration files](/cli/secrets-config-files/) using secret references.

### Authenticate with biometrics

* [Use shell plugins to securely authenticate third-party CLIs](/cli/shell-plugins/) with biometrics.
* [Build your own shell plugin](/cli/shell-plugins/contribute/) if the CLI you want to authenticate isn't already supported.

### Use 1Password CLI with other tools

* Use [1Password for VS Code](/vscode/) to bring 1Password CLI functionality to VS Code.
* Use [1Password Service Accounts](/service-accounts/get-started/#create-a-service-account) to limit the vaults 1Password CLI can access or run automated scripts if your personal account uses SSO or MFA.
* Use with [1Password Environments](/environments) to quickly load your project secrets from 1Password.
* Use a [1Password Connect Server](/connect/cli/) 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](/ci-cd/) with 1Password CLI to allow jobs in your pipeline to securely access secrets stored in 1Password.
* Use the [1Password Events API](/events-api/generic-scripts#usage) with 1Password CLI to provision bearer tokens at runtime using [secret references](/cli/secret-references/).

## Reference documentation

* Read the full [command reference](/cli/reference/) to learn about all 1Password CLI commands and how they can be used.
* Learn about [CLI best practices](/cli/best-practices).
* Learn about the [1Password app integration](/cli/app-integration/).
* Learn about the [shell plugins security model](/cli/shell-plugins/security/).
