Manage secrets
Manage the API keys and credentials your agents and connectors need. Secrets are held in secure (Conjur-backed) storage at the organization level and referenced by name — once saved, the value is never readable from the UI again.
Before you start
Section titled “Before you start”- You’re an organization owner or admin — secrets are managed at Settings → Secrets.
- For an add, you have the value ready to paste. It’s stored encrypted and can’t be read back.
Where secrets live
Section titled “Where secrets live”At Settings → Secrets (organization) there are two areas:
- AI Providers — the keys for OpenAI, Anthropic, and Google, in dedicated slots. Agents use these to call models.
- Custom secrets — named slots for everything else (a connector token, an OAuth client secret). Connectors and MCP servers reference them by name.
Secrets can be scoped by tier — project, organization (the default), or environment — and reserved name prefixes (ai_, integration_, instance_, mcp_) mark what a secret is for.
Add a secret
Section titled “Add a secret”-
Open Settings → Secrets.
Screenshot placeholderSettings → Secrets — AI Providers and custom secretsReplace with real capture from app.superagent.studio -
Add it. For a model key, use the AI Providers tab — pick the provider and paste the key. For anything else, add a custom secret with a name and its value.
-
Save. The value is encrypted; the list shows the name, never the value.
-
Reference it. In a connector’s setup or an agent’s configuration, the credential field lists secrets by name — pick this one. The runtime resolves the name to the value at call time.
Rotate a secret
Section titled “Rotate a secret”-
Generate the new value at the provider. Keep the old one active for the cutover window.
-
Update it. Open the secret at Settings → Secrets and set its new value.
-
Save. Every resource that references the secret picks up the new value on its next call — no redeploy needed.
-
Verify, then revoke. Trigger one run that uses the secret and watch it succeed in Workflow Executions, then retire the old value at the provider.
Troubleshooting
Section titled “Troubleshooting”- Rotate succeeded but runs still fail with 401/403. The provider takes a moment to propagate; wait and retry, and check the pasted value didn’t pick up trailing whitespace.
- Permission denied. Adding or rotating secrets requires the organization owner or admin role.