@fugood/bricks-cli 2.26.0-beta.35 → 2.26.0-beta.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -123,6 +123,10 @@ bricks auth remove <profile-name>
123
123
 
124
124
  # Set custom API URL
125
125
  bricks auth set-url <url>
126
+
127
+ # Revoke every Buttress and DevTools access token of the workspace issued up to now
128
+ # (BRICKS server >= 2.26; devices apply it when they next reach BRICKS, Buttress servers do not yet)
129
+ bricks auth revoke-access-tokens [-y|--yes] [-j|--json]
126
130
  ```
127
131
 
128
132
  ### Doctor
@@ -440,8 +444,19 @@ provisions a workspace-scoped DevTools token** in its permission-restricted `sta
440
444
  After restarting Buttress, agents with `local_devices = true` use it for matching-workspace
441
445
  devices without passing credentials through model arguments. Normal bind/status output
442
446
  hides the token; `--print` emits the complete secret state for remote provisioning.
443
- Rebind and restart to renew an expired token (default lifetime: 30 days). Rebinding does
444
- not revoke older tokens. Automatic device authentication assumes a trusted LAN.
447
+ Rebind and restart to renew an expired or revoked token (default lifetime: 30 days).
448
+ Rebinding does not revoke older tokens; `bricks auth revoke-access-tokens` (BRICKS server
449
+ >= 2.26) revokes all of the workspace's tokens on devices the next time they reach BRICKS.
450
+ Automatic device authentication assumes a trusted LAN.
451
+
452
+ When the BRICKS server issues BRICKS Registry credentials, `bind` also stores the server's
453
+ node credential and the Registry trust data in `state.json` (it needs a workspace token with
454
+ the `manage_devtools` scope, or OAuth login with `update-workspace`). An older server binds
455
+ as before. When the bind gets no credential, it still succeeds and says so.
456
+ `bricks buttress node-credential` gets a new one without a rebind; it keeps a stored
457
+ credential until its `renewAfter` unless you pass `--force`, and a failed issue never removes
458
+ the stored one. `bricks buttress status` shows the expiry and the issuer, never the credential.
459
+ Restart Buttress after either command.
445
460
 
446
461
  ### Interactive Mode
447
462