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.
Connect
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.
Permissions
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.
Write token
Optional. Create a second service account, for exampledave-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.
Just-in-time elevation
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.Secrets
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.Limits
1Password rate-limits service accounts per token and per account:
Service accounts cannot manage users or groups, and cannot read the Events API. To manage people
and groups, connect 1Password Admin.
Manage the connection
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.Troubleshooting
- 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.