Skip to main content

Get started with 1Password Service Accounts

With 1Password Service Accounts, you can build tools to automate secrets management in your applications and infrastructure without deploying additional services.

Service accounts can:

  • Create, edit, delete, and share items.
  • Create vaults.
  • Delete vaults.
    A service account can only delete a vault it created. See service account security.
  • Retrieve information about users and groups.

Each service account has a service account token that you can provide as an environment variable for authentication. You can choose which vaults the service account can access and its permissions in each vault.

Limitations

Service accounts have the following limitations:

Requirements

Before you can create and use service accounts, you'll need to:

If you don't see the option to create service accounts, ask your administrator to give you access to create and manage service accounts.

Create a service account

You can create a service account on 1Password.com or with 1Password CLI.

Service account permissions and vault access are immutable. If you want to grant a service account access to additional vaults, change the permissions it has in the vaults it can access, or change its ability to create new vaults, you'll need to create a new service account with the appropriate permissions and access.

To create a service account on 1Password.com:

  1. Sign in to your account on 1Password.com.
  2. Select Developer in the sidebar. If you already have active applications and services, select Directory at the top of the Developer page.
  3. Under Infrastructure Secrets Management, select Other.
  4. Select Create a Service Account and follow the onscreen instructions:
    1. Choose a name for the service account.
    2. Choose whether the service account can create vaults.
    3. Choose the vaults the service account can access.
      You can't grant a service account access to your built-in Personal, Private, or Employee vault, or your default Shared vault.
    4. Select the settings icon next to each vault to choose the permissions the service account has in the vault. This can't be changed later.
    5. Select Create Account to create the service account.
    6. Select Save in 1Password to save the service account token in your 1Password account. In the next window, enter a name for the item and choose the vault where you want to save it.
    danger

    The Service Account Creation Wizard only shows the service account token once. Save the token in 1Password immediately to avoid losing it. Treat this token like a password, and don't store it in plaintext.

caution

If your sign-in address changes, you'll need to rotate your service account tokens.

Next steps

Explore the following to learn about how you can use service accounts.

Need help?

Join our Developer Slack workspace to ask questions and provide feedback.

Was this page helpful?