Repository navigation
Update viam-server reference for the cached app access token - #5482
Merged
Eliza Farley (elizafarley) merged 2 commits intoOct 29, 2026
Merged
Conversation
rdk#6384 (RSDK-11520), released in RDK v1.14.0, caches the JWT viam-server gets from app under $VIAM_HOME/grpc/ and falls back to it when authentication fails. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Nja2XpwzQfFLZspPY9ZWkP
✅ Deploy Preview for viam-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
Docs review: Ready to mergeAdds a short note to the CI: All required checks passing Docs health: No regressions Nits
Verified against source (5 claims)
Automated review by Claude. Rerunning the review updates this comment. |
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Nja2XpwzQfFLZspPY9ZWkP
Collaborator
Author
|
Nit addressed in badbc1c: the sentence now names the credentials file, /etc/viam.json, the default location on Linux. Generated by Claude Code |
Eliza Farley (elizafarley)
approved these changes
Oct 29, 2026
Eliza Farley (elizafarley)
deleted the
claude/update-viam-server-jwt-cache
branch
October 29, 2026 23:57
|
🔎💬 Inkeep AI search and chat service is syncing content for source 'Viam Docs' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Source changes
grpc/app_conn.goauthenticates the app and signaling connections up front and, on success, writes the JWT to$VIAM_HOME/grpc/<base64(partID_host)>.jwt(directory created with mode 0700). IfAuthenticatefails,createConnectiondials again with the cached JWT (createConnectionWithCachedJWT), so the machine keeps its cloud connection while app's authentication system is down.Documents: no ticket key found in DOCS (RSDK-11520 has no DOCS ticket linked, parented or sharing a parent).
Docs changes
docs/reference/viam-server.md: in "Reconfiguration", beside the existing cached-config note, adds that v1.14.0 and later cache the access token in~/.viam/grpc/, fall back to it when authentication fails, and that the directory deserves the same protection as the credentials file. A credential stored on disk is security-relevant, and this page is where the docs list whatviam-serverkeeps under~/.viam.How I found these
flows.mdentry covers the filesviam-serverkeeps under~/.viam); the page came from the backlog item and grep..viam/,VIAM_HOME,cached_cloud_config,jwt,access tokenacrossdocs/,static/,data/,layouts/: only this page lists files under~/.viamthatviam-serverwrites.Prettier, markdownlint, vale,
frontmatter_rules.pyandmake build-prodpass.Generated by daily docs change agent
https://claude.ai/code/session_01Nja2XpwzQfFLZspPY9ZWkP
Generated by Claude Code