autho 3.0.6 → 3.2.0

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.
Files changed (3) hide show
  1. package/README.md +11 -5
  2. package/dist/autho.js +4130 -1544
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -10,7 +10,12 @@ Autho stores secrets in an encrypted SQLite vault on your machine. No cloud, no
10
10
  bun install -g autho
11
11
  ```
12
12
 
13
- Requires **Bun 1.3.10+**.
13
+ Requires **Bun 1.3.10+**. Standalone binaries for macOS, Linux and Windows are on [GitHub Releases](https://github.com/niradler/autho/releases), and the web UI runs in Docker:
14
+
15
+ ```bash
16
+ docker run --rm -it -v autho-data:/data niradler/autho init
17
+ docker run -d -p 127.0.0.1:8061:8061 -v autho-data:/data niradler/autho
18
+ ```
14
19
 
15
20
  ## Quick Start
16
21
 
@@ -40,11 +45,11 @@ You can also set `AUTHO_MASTER_PASSWORD` to avoid passing `--password` on every
40
45
  - **Env injection** — render secrets as env vars, write `.env` files, or inject into subprocesses
41
46
  - **Project mappings** — define `ENV_NAME=secretRef` maps in a project config file
42
47
  - **Leases** — time-limited, revocable access tokens scoped to specific secrets
43
- - **Audit trail** — every vault operation is logged with timestamps and metadata
48
+ - **Audit trail** — reads, edits, env/exec injections and unlocks are logged with their source (cli, tui, web, daemon) and lease; old events are pruned after 90 days by default (`auditRetentionDays`)
44
49
  - **Legacy import** — migrate from JSON backup files
45
50
  - **Interactive mode** — run `autho` with no arguments for a guided prompt
46
51
  - **Local daemon** — unlock once, run many commands without re-entering your password
47
- - **Local web UI** — browser-based secret browsing on localhost
52
+ - **Local web UI** — everything the CLI and TUI do, in the browser on localhost (`autho web serve`); it also runs while the TUI is open
48
53
 
49
54
  ## Commands
50
55
 
@@ -66,8 +71,9 @@ autho file decrypt --password <value> --input <path> [--output <path>] [--force]
66
71
  autho files encrypt --password <value> --input <path> [--output <path>] [--force] [--json]
67
72
  autho files decrypt --password <value> --input <path> [--output <path>] [--force] [--json]
68
73
  autho import legacy --password <value> --file <path> [--no-skip-existing] [--json]
69
- autho audit list --password <value> [--limit <number>] [--json]
74
+ autho audit list --password <value> [--limit <number>] [--source cli|tui|web|daemon] [--type <prefix>] [--secret <ref>] [--lease <ref>] [--json]
70
75
  autho project init --map <ENV=ref> [--output <path>] [--force] [--json]
76
+ autho web serve [--vault <path>] [--port <value>]
71
77
  autho daemon serve [--vault <path>] [--port <value>]
72
78
  autho daemon status [--state-file <path>] [--json]
73
79
  autho daemon unlock --password <value> [--ttl <seconds>] [--state-file <path>] [--json]
@@ -80,7 +86,7 @@ autho passkey add|list|remove [--label <name>]
80
86
  autho config show|path|set <key> <value>|unset <key>
81
87
  ```
82
88
 
83
- Run `autho` with no arguments for the terminal UI; press `,` there for Settings (paths, unlock methods, timeouts, agent defaults).
89
+ Run `autho` with no arguments for the terminal UI; press `5` there for Settings (paths, unlock methods, timeouts, agent defaults).
84
90
 
85
91
  Run `autho help` for the full reference.
86
92