feat: add default nordvpn credential paths

This commit is contained in:
Stefano Fiorini
2026-03-12 00:09:56 -05:00
parent 78be4fc600
commit 045cf6aad2
3 changed files with 51 additions and 14 deletions

View File

@@ -59,6 +59,11 @@ Optional credential file env vars:
- `NORDVPN_TOKEN_FILE`
- `NORDVPN_PASSWORD_FILE`
Default OpenClaw credential paths:
- token: `~/.openclaw/workspace/.clawdbot/credentials/nordvpn/token.txt`
- password: `~/.openclaw/workspace/.clawdbot/credentials/nordvpn/password.txt`
## Verification Behavior
`status`, `verify`, and `connect` report machine-readable JSON including:
@@ -79,7 +84,7 @@ Use `verify` when you want an explicit post-connect location check without chang
For an automated macOS flow:
1. `node scripts/nordvpn-client.js install`
2. set `NORDVPN_TOKEN` or `NORDVPN_TOKEN_FILE`
2. put your token in `~/.openclaw/workspace/.clawdbot/credentials/nordvpn/token.txt` or set `NORDVPN_TOKEN` / `NORDVPN_TOKEN_FILE`
3. `node scripts/nordvpn-client.js login`
4. `node scripts/nordvpn-client.js connect --country "Italy"` or `--city "Milan"`
5. `node scripts/nordvpn-client.js verify`