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

T3 Code guide

Secret references in credential fields

Permissions and secrets

Credential fields in Settings show a source picker. Pick Value to save the credential itself, or pick a secret provider and enter a reference such as op://vault/item/field.

T3 Code docs: secrets

What it’s for

Pointing credential fields such as provider environment variables and credentials, source control tokens, usage limit keys, and device host tokens at a 1Password secret reference instead of saving the credential itself.

T3 Code docs: secrets

When to use it

When a credential changes in 1Password. T3 Code reads the secret when it needs it, such as when a provider starts, so change the credential in 1Password and refresh to use the new value.

T3 Code docs: secrets

How to use it

  1. Select the check button next to the reference to read it now; if it reads, providers that use it start using the new value.

    T3 Code docs: secrets

  2. Before removing a secret provider, note the fields it lists, since removing it clears them.

    T3 Code docs: secrets

What’s changed

  • Simlock, Antigravity, and OpenCode credentials can come from a secret provider.Updated Nov 6
  • Usage limit source keys can be read from a secret provider.Updated Nov 4
  • Usage limit source keys can be read from a secret provider.Updated Nov 4
3 earlier changes
  • Bitbucket and GitCafe credentials can be read from a secret provider.Updated Oct 31
  • Provider environment variables can point at a secret provider.Updated Oct 31
  • Add and list 1Password secret providers, behind the T3CODE_FEATURE_SECRETS flag.Added Oct 31

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