Skip to content

v0.22.0

Choose a tag to compare

@jasonodoom jasonodoom released this 18 Nov 03:38
· 3 commits to main since this release
v0.22.0
a7c6a56

An operator can now grant a trusted tenant direct R2 write access to its own dedicated bucket, with the credential revealed to that account exactly once, on its next vega login.

Added

  • vega login saves and announces a direct-R2 tenant write grant when an operator has issued one for that account (spec 0006), the one time it is ever shown: the control plane erases its own copy the instant the response leaves it. Saved to ~/.config/vega/r2-grant.json at mode 0600, written atomically (a temp file renamed over the target, never truncated in place), and saved before the owner credential so that losing the one secret that cannot be re-revealed never depends on a later write succeeding. The secret itself never reaches stdout; a save that still fails prints it once to stderr with a loud warning rather than losing it silently. No flag, no config: an account either has a pending grant or it does not.