From 2a4abfcbfc788eb43ce08dac3481a613c6752bf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=AE=B6=E5=90=8D?= Date: Sat, 28 Mar 2026 00:35:36 +0800 Subject: [PATCH] docs: surface auth vault commands in README --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 19b10f31c..2309e98c6 100644 --- a/README.md +++ b/README.md @@ -363,6 +363,19 @@ agent-browser install --with-deps # Also install system deps (Linux) agent-browser upgrade # Upgrade agent-browser to the latest version ``` +### Authentication Vault + +```bash +agent-browser auth save --url --username --password +agent-browser auth save --url --username --password-stdin +agent-browser auth login +agent-browser auth list +agent-browser auth show +agent-browser auth delete +``` + +Use these commands to store credentials locally (encrypted), then perform a login flow without exposing passwords to your agent or shell history. For shell safety, prefer `--password-stdin` over `--password` when possible. + ## Authentication agent-browser provides multiple ways to persist login sessions so you don't re-authenticate every run. @@ -377,6 +390,8 @@ agent-browser provides multiple ways to persist login sessions so you don't re-a | **State file** | Load a previously saved state JSON on launch | `--state ` / `AGENT_BROWSER_STATE` | | **Auth vault** | Store credentials locally (encrypted), login by name | `auth save` / `auth login` | +If you are scanning the command list first, note that the auth vault commands live under `agent-browser auth ...`. + ### Import auth from your browser If you are already logged in to a site in Chrome, you can grab that auth state and reuse it: