Sentry: token ownership, rotation runbook, revoke unused tokens
Summary
Ownership for the Sentry auth tokens: named owners, rotation steps, and cleanup of unused tokens (follow-up from tinyhumansai/openhuman#8104).
Problem
The tokens in use are documented across tracker comments, but nobody owns them, and two org tokens have never been used:
| Token (Sentry) | Kind / scope | Used by |
|---|---|---|
backend-ci (…1Qqw) |
org token, org:ci |
tinyhumansai/backend SENTRY_AUTH_TOKEN (Production, Development) |
openintents-ci (…z/wg) |
org token, org:ci |
tinyhumansai/openintents-core SENTRY_AUTH_TOKEN (Production) |
oc-gh-actions-v2 (…FODU) |
org token, org:ci |
likely opencompany (last used 2026-09-18) |
openhuman-ci |
internal integration (Org: Read, Release: Admin, Project: Write) | tinyhumansai/openhuman (repo + 3 environments) |
sentry-health |
internal integration (Org: Read, Issue & Event: Read) | tinyhumansai/backend SENTRY_HEALTH_TOKEN (uptime monitor) |
gh-actions (…KnlM), developement-triage (…oR3k) |
org tokens | never used |
Proposed solution
- Name an owner per token, and record them in one place (a runbook) rather than in comments.
- Write the rotation steps: create the new token, replace the secret(s), confirm a run, revoke the old one. Org tokens don't expire; integration tokens can be regenerated.
- Revoke
gh-actionsanddevelopement-triageonce nobody claims them. Confirmoc-gh-actions-v2's user.
Acceptance criteria
- [ ] Each token has a named owner and its secret locations recorded in one runbook
- [ ] Rotation steps written down
- [ ] Unused tokens revoked or claimed
Related
- tinyhumansai/openhuman#8104 (tracker)
Token ownership/rotation runbook and revocation of unused Sentry tokens; a hygiene follow-up, not a broken path. Related to tracker #8104 but that issue covers CI auth-token failures and project verification, not ownership or revocation.
Labelled priority: p3.
Runbook drafted in the private infra repo, since this repo is public and the inventory is internal: tinyhumansai/k8s#168 (k8s/overlays/aws-prod/sentry/RUNBOOK-tokens.md).
Left for people to decide there:
- [ ] owners for
backend-ci,openintents-ci,openhuman-ci,sentry-health(the Owner column is blank on purpose) - [ ] opencompany's token: its
SENTRY_AUTH_TOKEN(updated 2026-09-29) is neither an org token nor an integration, so probably a personal token; the person who set it up should confirm - [ ] revoke
gh-actionsanddevelopement-triage(never used), andoc-gh-actions-v2if opencompany confirms it's superseded
The rotation runbook is drafted, in a private repository since the token inventory is internal. What's left is for maintainers: name the owners and decide which unused tokens to revoke. Keeping this open until that's done.