Skip to content

fix(networking): reload bearer tokens from file on each request - #320

Merged
jhrozek merged 1 commit into
mainfrom
fix/319-token-file-rotation
Oct 8, 2026
Merged

jhrozek merged 1 commit into
mainfrom
fix/319-token-file-rotation

Conversation

@jhrozek

@jhrozek jhrozek commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Keep build-time token validation while reading the configured path for every outbound request, so rotated service account tokens are used without rebuilding the client. Fail closed if the file becomes unreadable or empty. Cover overwrite, replacement, symlink rotation, recovery, and concurrent requests.

Fixes #319

Keep build-time token validation while reading the configured path for every outbound request, so rotated service account tokens are used without rebuilding the client. Fail closed if the file becomes unreadable or empty. Cover overwrite, replacement, symlink rotation, recovery, and concurrent requests.

Fixes #319
@jhrozek
jhrozek merged commit f54dead into main Oct 8, 2026
6 checks passed
@jhrozek
jhrozek deleted the fix/319-token-file-rotation branch October 8, 2026 13:55
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.

WithTokenFromFile / AuthTokenFile read the token once; rotated tokens are never picked up

2 participants