File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed
Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -31,10 +31,20 @@ All operations use `curl` against a running TelAgent node. The agent reads these
3131
3232Set these before using any command:
3333
34- | Variable | Description | Example |
35- | ------------------------| ---------------------------------------------------| -----------------------------------|
36- | ` TELAGENT_NODE_URL ` | Base URL of your running TelAgent node | ` https://node.example.com ` |
37- | ` TELAGENT_PASSPHRASE ` | Node unlock passphrase (used to get session token)| * (secret)* |
34+ | Variable | Description | Default / Source |
35+ | ------------------------| ---------------------------------------------------| ---------------------------------------------------|
36+ | ` TELAGENT_NODE_URL ` | Base URL of your running TelAgent node | ` http://127.0.0.1:9529 ` (one-click install default) |
37+ | ` TELAGENT_PASSPHRASE ` | Node unlock passphrase (used to get session token)| Read from ` ~/telagent/.env ` → ` TELAGENT_CLAWNET_PASSPHRASE ` |
38+
39+ How to obtain the values:
40+
41+ ``` bash
42+ # TELAGENT_NODE_URL — default after one-click install
43+ export TELAGENT_NODE_URL=" http://127.0.0.1:9529"
44+
45+ # TELAGENT_PASSPHRASE — extract from .env generated by the installer
46+ export TELAGENT_PASSPHRASE=$( grep ' ^TELAGENT_CLAWNET_PASSPHRASE=' ~ /telagent/.env | cut -d= -f2)
47+ ```
3848
3949## Authentication
4050
You can’t perform that action at this time.
0 commit comments