Skip to content

Identity & security

Connect a 1Password account with a read-only service account, plus an optional write service account for just-in-time elevation.

1Password connects with up to two service account tokens: a read token Dave uses on its own, and an optional write token Dave uses only for changes you approve. Dave reads and writes with the official op CLI.

Service accounts see only the vaults you pick when you create them, and 1Password never lets them into Personal, Private, Employee or the default Shared vault.

  1. In 1Password, open Developer → Directory → Service Accounts and create a service account, for example dave-read.

  2. Pick the vaults Dave should see, and give the service account only Read items on each. 1Password fixes these permissions when you create the account; you cannot change them later.

  3. Copy the token (ops_…). 1Password shows it once.

  4. Optionally create the write token — see Write token.

  5. In Dave, go to Integrations → Add integration → 1Password.

  6. Paste the read token. Tokens are stored encrypted and never shown again.

  7. Set a Label — see labels.

  8. Optionally check Enable just-in-time writes and paste the write token.

  9. Choose Connect 1Password. Dave checks the tokens with 1Password; you do not need to stay on the page.

Token Access Dave uses it for
Read Read items on the vaults you choose Vaults, items, fields and item metadata
Write Read items and Write items on those vaults Approved changes: creating, editing and archiving

Add Share items to the write service account if Dave should create share links. Allow it to create vaults only if Dave should; a service account can delete only vaults it created.

Optional. Create a second service account, for example dave-write, with Read items and Write items on the vaults Dave may change.

Dave rejects a write token that belongs to another 1Password account or is the same as the read token.

Dave stores the write token encrypted. The agent only gets it for a single command you approve — creating an item, rotating a password, archiving an item — and every other command runs with the read token. Leave the write token blank to keep the account read-only.

Dave shows item titles, fields and metadata, but does not reveal a secret value unless you ask for that specific field. When Dave creates or rotates a password, it has 1Password generate it, so the value never appears in the approved command.

1Password rate-limits service accounts per token and per account:

Plan Reads per hour Writes per hour Requests per day (all service accounts)
Business 10,000 1,000 50,000
Teams 1,000 100 5,000
Families, personal 1,000 100 1,000

Service accounts cannot manage users or groups, and cannot read the Events API.

Revoking the read service account in 1Password cuts Dave off; revoking the write service account disables writes. Disconnect in Dave stops Dave using both tokens immediately, but does not revoke them in 1Password.

To change which vaults Dave sees, create a new service account and connect again — 1Password does not let you edit one.

  • 1Password rejects the read token — check it is a service account token (ops_…) and that the service account has not been revoked or expired.
  • Dave cannot see a vault — the service account was created without it. Create a new service account that includes the vault.
  • Writes fail with a permissions error — the write service account lacks Write items on that vault.