secrets command

This commit is contained in:
2026-01-13 14:06:25 +00:00
parent 5b1a65849b
commit 7e1baaa2f1
2 changed files with 278 additions and 24 deletions

View File

@@ -30,3 +30,9 @@ Syncs `pb_public`, `pb_migrations`, and `pb_hooks`, then restarts the remote Poc
Connects to the configured server and streams `/root/pb/{service}/{service}.log` via `tail -n 100 -F`.
### secrets
Manage the remote `/root/pb/{service}/.env` file.
- `pb secrets list` prints every variable name defined in the remote `.env` (comments and empty lines are ignored).
- `pb secrets set KEY=VALUE [...]` adds or updates one or more key/value pairs while leaving the other file entries untouched.
- `pb secrets delete KEY [...]` removes the named entries from the remote `.env`.