Doc-Bot Credentials & Rotation
The doc-update bot authenticates as the qubital-doc-bot GitHub App for all cross-repo operations. This page records the App identity and explains how to rotate credentials. No secret values are stored here.
App identity
| Field | Value |
|---|---|
| App name | qubital-doc-bot |
| App ID | 3921834 |
| Owner | StartingQuoTechDivision |
| Installed on | qubital-backend, docs repo |
To locate the App: GitHub → Settings → Developer settings → GitHub Apps → qubital-doc-bot.
Stored credentials
| Name | Type | Stored at | Contains |
|---|---|---|---|
DOC_BOT_APP_ID | Variable | qubital-backend repo (temporary — migrate to org level when org is created) | Numeric App ID |
DOC_BOT_APP_PRIVATE_KEY | Secret | qubital-backend repo (temporary — migrate to org level when org is created) | PEM-encoded private key |
DOC_BOT_ANTHROPIC_API_KEY | Secret | qubital-backend repo (temporary — migrate to org level when org is created) | Anthropic API key for Claude calls |
Rotate the private key
- Go to GitHub → Settings → Developer settings → GitHub Apps → qubital-doc-bot → General.
- Scroll to Private keys → Generate a private key. A
.pemfile downloads automatically. - Update
DOC_BOT_APP_PRIVATE_KEYin the repo (or org) secrets with the contents of the new.pemfile. - Delete the old private key from the App settings page.
- Delete the local
.pemfile — do not commit it.
The old key remains valid until deleted in step 4. Generate the new key first, update the secret, then delete the old key — this order avoids downtime.
Rotate the Anthropic API key
- Generate a new key at console.anthropic.com → API Keys.
- Update
DOC_BOT_ANTHROPIC_API_KEYin the repo (or org) secrets. - Revoke the old key in the Anthropic console.
Migrate secrets to org level
These credentials are stored at repo level because no GitHub Organization exists yet. When the team moves to a GitHub Organization:
- Add
DOC_BOT_APP_ID,DOC_BOT_APP_PRIVATE_KEY, andDOC_BOT_ANTHROPIC_API_KEYas org-level secrets/variables. - Remove the repo-level copies from
qubital-backend. - No workflow changes are required — the variable and secret names stay the same.