NewFromEnv now falls back to ~/.vault-token, the file `bao login` writes and the bao and vault CLIs already read. An operator who has logged in once should not have to re-export a secret, and a token that never has to be typed is a token that never lands in shell history. Preflight distinguishes the two things a 403 means. An expired token and a token missing a policy look identical in the error, and the check that separates them -- whether `bao token lookup` also fails -- is worth naming where it is read rather than left to be rediscovered. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0172sgCZEEDJcnQmr4SGDvKa Assistant: claude-code Assistant-Model: opus Assistant-Process: 1361245@bnt-lap001 Assistant-Session: b3b428ef-f3e6-4688-b091-01f71461d66a |
||
|---|---|---|
| .. | ||
| provision | ||