Skip to content

Telemetry: send credential via x-amicode-token header - #210

Merged
jack-champagne merged 1 commit into
mainfrom
feat/telemetry-token-header
Jul 24, 2026
Merged

jack-champagne merged 1 commit into
mainfrom
feat/telemetry-token-header

Conversation

@jack-champagne

Copy link
Copy Markdown
Member

Client sends the telemetry credential in the x-amicode-token header (was Authorization: Bearer). Matches the ingest, which reads x-amicode-token (aws-infra #205). Token still from ~/.amico/cloud.json; gate unchanged. 743 tests pass. Pairs with the aws-infra pin-URL pivot.

The run-corpus ingest now sits behind CloudFront with OAC, which signs each
origin request with SigV4 in the Authorization header — overwriting the app
token that rode Authorization: Bearer, so the Lambda rejected valid callers
with bad_token (401). Inject the token on the custom x-amicode-token header
instead; the gate, token source, and every other OTLP env var are unchanged.
@jack-champagne
jack-champagne merged commit 7119222 into main Jul 24, 2026
5 checks passed
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