Obvious/Help Center

Managing Secrets & API Keys

Published February 27, 2026 · Last updated August 22, 2026 · 5 min read

Managing Secrets & API Keys

Save API keys, tokens, passwords, and other credentials securely in Obvious. Add a credential yourself or use the secure form when an agent asks, then control who can use it and whether its use needs your approval.

Add a credential yourself

If you already have the credential you want to save, add it in Settings.

  1. Open Settings → Integrations → Secrets.

  2. Select Add secret.

  3. Enter a Name, such as STRIPE_API_KEY or DATABASE_URL.

  4. Enter the secret Value.

  5. If Available to appears, choose who should be able to use the credential.

  6. Select Add secret.

Credentials added in Settings use Regular access, so agents can use the credential without asking you each time. If you want agents to ask before using the credential, edit the credential and change Access tier to Protected. You can switch tiers later if your security needs change.

Use the secure form when an agent asks

If an agent needs a credential that is not saved yet, it presents a secure request form in the chat. For example, an agent connecting to Stripe may request a Stripe API key. Enter the credential in the form instead of typing it into a normal chat message. The form saves the value securely and returns the agent to its work without displaying the value in the conversation.

The secure credential request form can request one or more fields. For each field, choose Regular or Protected under Tier. You'll see Available to when your workspace role and available sharing options let you choose who can use the credential. Choose who can use the credential, then submit the form.

Choose who can use the credential

When Available to appears, choose the narrowest group that needs the credential. You may not see every option below. The choices available to you depend on your role, memberships, and the teams and projects available to you.

OptionWho can use it
Only me (all workspaces)Only you. Other workspace members cannot see or use it.
Team membersMembers of the selected team.
Workspace membersMembers of the selected workspace. Only workspace owners and admins can create this scope.
Project membersMembers of the selected project.

Choose Regular or Protected access

Choose the access tier that matches how you want the credential to be used.

Access tierWhat it means
RegularAgents can use the credential automatically, without asking you each time.
ProtectedAgents can use the credential only with your approval. The agent pauses and waits until you approve or deny the request in your inbox.

If you're not sure which tier to use, start with Protected. You can always switch a credential to Regular later once you've confirmed how an agent uses it.

Approve or deny Protected use

When an agent needs a Protected credential, it pauses and sends an approval request to your inbox. Open the request to see which credential the agent wants to use, the command it wants to run, and why. Each approval request offers three choices:

ChoiceWhat it does
Approve onceThe agent can use the credential for the command shown in the request, one time. If the command doesn't run within 15 minutes, the approval expires. Any other use needs a new approval.
Approve for sessionThe agent can use the credential for any command for 30 minutes after you click. Using the credential doesn't extend the time.
DenyStops the use. The agent is told the credential was denied and won't ask again for that credential for 30 minutes.

Approvals and denials apply to the one agent that asked, in the conversation where you acted. If another agent needs the same credential, even in the same conversation, it sends its own approval request.

Each Protected credential gets its own approval card. If one command needs two Protected credentials, you'll see two cards, and you approve or deny each one separately.

If you find you're approving the same credential repeatedly for a trusted agent, switch the credential to Regular access.

Update or remove a saved credential

To edit or delete a credential, open Settings → Integrations → Secrets, find the credential in the list, and select the options menu next to it. You can update the name, value, or access tier, or delete the credential entirely. Deleting a credential is permanent — any agent or workflow that relied on it will stop working until you add a replacement.

Keep credentials safe

  • Enter credentials only in the secure form or in Settings → Integrations → Secrets. Never paste a secret into a regular chat message — it will be visible in the conversation history.

  • Use Protected access for credentials that have broad access, such as workspace-scoped API keys for payment processors or production databases.

  • Review your saved credentials periodically and remove any that are no longer in use.

Related article

Connectors & Service Connections

Was this helpful?