Skip to content

begin-testbox: authenticate phone-home via stickyDiskToken from VM metadata#3

Merged
aayushshah15 merged 1 commit intomainfrom
v2/sticky-disk-auth
Feb 19, 2026
Merged

begin-testbox: authenticate phone-home via stickyDiskToken from VM metadata#3
aayushshah15 merged 1 commit intomainfrom
v2/sticky-disk-auth

Conversation

@aayushshah15
Copy link
Copy Markdown
Contributor

@aayushshah15 aayushshah15 commented Feb 19, 2026

Summary

Adds Bearer token authentication to phone-home calls by piggybacking on the VM's stickyDiskToken. This token is a Sanctum token only accessible inside the VM via the metadata service, proving the caller is a real Blacksmith VM belonging to the claimed installation. The token is also written to the state directory so run-testbox can use it for its own phone-home call.

Made with Cursor


Open with Devin

…tadata

Co-authored-by: Cursor <cursoragent@cursor.com>
Copy link
Copy Markdown

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

@aayushshah15 aayushshah15 merged commit ee24359 into main Feb 19, 2026
1 check 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