> ## Documentation Index
> Fetch the complete documentation index at: https://a5eb32f-docs-2.manicule.dev/llms.txt
> Use this file to discover all available pages before exploring further.
> For every page in one file, fetch https://a5eb32f-docs-2.manicule.dev/llms-full.txt (large).
> To search and read these docs as tools, connect the MCP server at https://a5eb32f-docs-2.manicule.dev/api/mcp.
> Every agent surface: https://a5eb32f-docs-2.manicule.dev/.well-known/llms-manifest.json

# Manage Connector Tokens and Project Secrets (/security/token-vault)

<!-- agent-signals: reading_time_min: 2 · est_tokens: 725 · updated: 2026-11-25 -->
Related: [Check What Your AI Requests Share](/security/privacy.md), [Know Where Your Code Runs](/security/sandboxing.md)

> Tell connector tokens apart from encrypted project secrets, and learn where to revoke or replace each credential.

BhaiCode uses connector credentials to act on your behalf in services like GitHub, GitLab, Vercel, Netlify, Neon, and Supabase. Your application can also have its own secrets, such as a private database connection string. Those are separate stores: the project secret store encrypts values before saving them, while connector responses mask token values without establishing the same encryption guarantee.

## Choose the right place for a credential

| Credential                                                | Where it belongs                                | What BhaiCode returns                                          |
| --------------------------------------------------------- | ----------------------------------------------- | -------------------------------------------------------------- |
| Access token or API key for a connector                   | The account's connector settings                | A masked value in the connector response                       |
| Private connection string or API key for your application | The project's **Secrets** panel in Cloud Studio | The secret name and a short suffix, rather than the full value |

Cloud Studio encrypts project secret values at rest with AES-256-GCM. The service scopes secret records to the owning account and project. Connector records are scoped to the account and provider instead. For those records, the connector service doesn't apply the project secret store's encryption before saving the token. Masking changes what the API returns; it doesn't change how the value is stored.

<Warning>Put secrets in the settings meant for them. Keep token values out of chat, source files, screenshots, and logs. Use the mask or suffix to identify a credential without sharing the full value.</Warning>

## Limit the access you grant

On the provider's OAuth screen, check the account or organization and the permissions the connector requests. Accept the grant only if those permissions match the work you want BhaiCode to do. If you supply an API key instead, choose one limited to the resources and permissions you need, when the provider allows it.

## Revoke and replace a credential

If a connector credential was exposed or the integration is no longer needed, revoke the token or OAuth grant at the provider. Disconnecting in BhaiCode removes the saved connection from your account; it doesn't revoke the upstream credential. If you still need the connector, reconnect it with a new grant or key.

For an application secret, revoke or rotate the old value where it was issued, update the project's secret, and verify the application still connects before resuming normal use.

## Next

* [Choose and authorize a connector](/connectors/overview).
* [Check what an AI request shares](/security/privacy).
