Docs navigation
Primitives

Secrets

Secrets are the credentials an agent uses without anyone reading them back: API keys, tokens, passwords. They are planted into the agent's machine as environment variables (process.env.NETSUITE_TOKEN), and once saved their values are never shown again, in the app or through the API. To change one, set a new value over it.

Names are UPPER_SNAKE_CASE. Set a secret once on an orchestration and every member inherits it; an agent's own value of the same name wins.

How it fits

  • Secrets belong to an agent or an orchestration.
  • They reach the task's machine, where tools and the entrypoint read them.
  • Remote MCP servers can reference them in headers as ${NAME}.

Work with it

Using bb, list the secret names on my "Vendor onboarding" agent (bb agent secret list -a "Vendor onboarding") and tell me which ones it inherits from its orchestration. Don't set any values yourself: give me the bb agent secret set <NAME> command for each missing one so I can type the value myself.

Paste it into Claude Code, Codex or Cursor with the Brainbase MCP or skill installed.

Availability

CloudAWSAzureGCPSovereign
Secrets

AvailableLimited: beta, by release, Enterprise or on requestNot available

AWS is the AWS Marketplace install in your own account. Azure, GCP and sovereign (on-premise) deployments are arranged with Brainbase on Enterprise. Hover a mark for details, or contact us to confirm one for your deployment.

Learn more