> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codewire.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Secrets

> Manage organization-level secrets for workspace provisioning

Organization secrets store credentials used during workspace provisioning — private repo access, container registry auth, and AI agent API keys.

## Accessing secrets

1. Navigate to your organization in the sidebar
2. Click **Secrets** in the org's quick links

## Available secrets

| Secret                 | Purpose                                               |
| ---------------------- | ----------------------------------------------------- |
| **GitHub Token**       | Access private repositories during workspace creation |
| **DockerHub Username** | Authenticate with DockerHub for container images      |
| **DockerHub Token**    | DockerHub authentication token                        |
| **Claude API Key**     | API key for Claude Code in workspaces                 |
| **Claude OAuth Token** | OAuth token for Claude Code authentication            |

Each secret shows its current status: **configured** or **not configured**.

## Set a secret

1. Find the secret you want to configure
2. Enter the value in the inline password input
3. Click **Set**

The value is encrypted and stored at the organization level.

## Delete a secret

1. Find the configured secret
2. Click **Delete**
3. The secret is removed immediately

<Warning>
  Deleting a secret may affect running workspaces that depend on it. New workspaces created after deletion won't have access to the removed credential.
</Warning>

## How secrets are used

Secrets are injected during workspace provisioning:

* **GitHub Token** — clones private repos during workspace setup
* **DockerHub credentials** — pulls private container images without rate limiting
* **Claude API Key / OAuth Token** — configures Claude Code inside workspaces so agents can authenticate automatically

## Related

<CardGroup cols={2}>
  <Card title="Launch a workspace" icon="rocket" href="/getting-started/launch-workspace">
    Create workspaces that use these secrets.
  </Card>

  <Card title="GitHub integration" icon="github" href="/settings/github-integration">
    Set up full GitHub App integration per resource.
  </Card>
</CardGroup>
