Skip to content

fix: remove hardcoded Grafana Cloud Tempo credentials#34

Merged
AquiGorka merged 1 commit intomainfrom
fix/remove-hardcoded-tempo-token
Mar 31, 2026
Merged

fix: remove hardcoded Grafana Cloud Tempo credentials#34
AquiGorka merged 1 commit intomainfrom
fix/remove-hardcoded-tempo-token

Conversation

@AquiGorka
Copy link
Copy Markdown
Contributor

@AquiGorka AquiGorka commented Mar 31, 2026

😢 🙈

Summary

  • Removes hardcoded Grafana Cloud Tempo URL and auth token from testnet/verify-otel.ts
  • Both TEMPO_URL and TEMPO_AUTH are now required env vars (script exits with clear error if missing)
  • The leaked token has already been rotated in Grafana Cloud

Context

The previous code had production Grafana Cloud credentials as fallback defaults, meaning they were committed to the repo in plaintext. This was introduced in #32 as part of a large commit (53 files).

Test plan

  • Run deno run --allow-all testnet/verify-otel.ts without env vars — should exit with error
  • Run with TEMPO_URL and TEMPO_AUTH set — should work as before

The Tempo URL and auth token were hardcoded as fallback defaults,
leaking production credentials into the repo. Both are now required
via environment variables with clear error messages.
@AquiGorka AquiGorka merged commit b102d2a into main Mar 31, 2026
1 check passed
@AquiGorka AquiGorka deleted the fix/remove-hardcoded-tempo-token branch March 31, 2026 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant