Files
devvm/docs
w3cjandClaude Opus 5.5 ab20aab59d feat(secret): devvm secret and devvm auth, tokens kept on this machine
devvm secret set claude|github [--stdin] saves a token in the macOS
Keychain (through security -i on stdin, never in arguments) or in an
owner-only file elsewhere; devvm auth claude does the same for claude.
secret rm deletes one, secret ls (and devvm secret) lists every secret,
whether it's saved and the VMs using it, and secret use|unuse binds one
to the folder's VM. Saving, deleting, binding and unbinding rewrite the
running proxies' bindings at once, keeping their logins' bindings as the
VM's start wrote them. get stays hidden, for the proxies.

- secrets: Token (whitespace dropped; empty, quotes, backslashes,
  control characters and non-setup claude tokens refused), Save, Delete,
  Bind, FromImage, RefreshFiles; platform: KeychainSet, KeychainDelete.
- netpolicy: Proxy.RefreshSecrets. vm: SecretSave, SecretRm, Secrets,
  SecretUse. ui: Secret (no echo at a terminal, the terminal restored on
  interrupt) and Line.
- Messages: claude_token_howto, github_token_howto, token_prompt,
  no_token, token_quotes, not_setup_token, keychain_save_failed,
  secret_saved, secret_saved_keychain, secret_removed, secret_used,
  secret_unused, secret_with_image, secret_unuse_copied, secret_failed;
  no_claude_token, claude_token_invalid and no_github_token name
  devvm auth claude and devvm secret set github.
- Tests: secret.txtar (set/rm/ls, use/unuse, auth, refused tokens, the
  value never in argv), Go tests for Token, Save/Delete, Bind,
  RefreshFiles, RefreshSecrets, the Keychain calls through the security
  stub (now with -i and delete-generic-password), ui.Secret, vm secrets.
- e2e network: secret set/get/use/ls/unuse/rm with a fake GitHub token;
  the VM gets its own GH_TOKEN placeholder, the proxy puts the token in
  for api.github.com.
- Docs: network.md (saving and binding tokens), coding-agents.md (Claude
  Code login), security.md, commands.md, contributing.md; CLI reference.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-24 17:43:18 -06:00
..