Theo-brainUnofficial. Not affiliated with Theo or t3.gg.
Sign inYou

T3 Code guide

Limit which vaults agents can reach

Permissions and secrets

Agents run with the server's environment. That means an agent can use the 1Password service account token to read anything the service account can access.

What it’s for

Use it to keep sensitive vaults out of agents' reach, while still letting T3 Code resolve the secrets it needs.

When to use it

Use it when you put OP_SERVICE_ACCOUNT_TOKEN in the server's environment, because agents run with that environment and can use the token.

How to use it

  1. Give the service account access only to vaults whose items you would let an agent read.

  2. Give the service account only vaults whose items you would let an agent read, then use references as usual, for example op://Automation/provider-token/credential.

Unofficial notes. Not affiliated with Theo or t3.gg.