mirror of https://github.com/openclaw/openclaw.git
Docs: remove MDX-breaking secret markers
This commit is contained in:
parent
e4d80ed556
commit
61273c072c
|
|
@ -108,10 +108,10 @@ Gateway call/probe credential resolution now follows one shared contract:
|
||||||
- Explicit credentials (`--token`, `--password`, or tool `gatewayToken`) always win.
|
- Explicit credentials (`--token`, `--password`, or tool `gatewayToken`) always win.
|
||||||
- Local mode defaults:
|
- Local mode defaults:
|
||||||
- token: `OPENCLAW_GATEWAY_TOKEN` -> `gateway.auth.token` -> `gateway.remote.token`
|
- token: `OPENCLAW_GATEWAY_TOKEN` -> `gateway.auth.token` -> `gateway.remote.token`
|
||||||
- password: `OPENCLAW_GATEWAY_PASSWORD` -> `gateway.auth.password` -> `gateway.remote.password` <!-- pragma: allowlist secret -->
|
- password: `OPENCLAW_GATEWAY_PASSWORD` -> `gateway.auth.password` -> `gateway.remote.password`
|
||||||
- Remote mode defaults:
|
- Remote mode defaults:
|
||||||
- token: `gateway.remote.token` -> `OPENCLAW_GATEWAY_TOKEN` -> `gateway.auth.token`
|
- token: `gateway.remote.token` -> `OPENCLAW_GATEWAY_TOKEN` -> `gateway.auth.token`
|
||||||
- password: `OPENCLAW_GATEWAY_PASSWORD` -> `gateway.remote.password` -> `gateway.auth.password` <!-- pragma: allowlist secret -->
|
- password: `OPENCLAW_GATEWAY_PASSWORD` -> `gateway.remote.password` -> `gateway.auth.password`
|
||||||
- Remote probe/status token checks are strict by default: they use `gateway.remote.token` only (no local token fallback) when targeting remote mode.
|
- Remote probe/status token checks are strict by default: they use `gateway.remote.token` only (no local token fallback) when targeting remote mode.
|
||||||
- Legacy `CLAWDBOT_GATEWAY_*` env vars are only used by compatibility call paths; probe/status/auth resolution uses `OPENCLAW_GATEWAY_*` only.
|
- Legacy `CLAWDBOT_GATEWAY_*` env vars are only used by compatibility call paths; probe/status/auth resolution uses `OPENCLAW_GATEWAY_*` only.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ openclaw onboard --mistral-api-key "$MISTRAL_API_KEY"
|
||||||
|
|
||||||
```json5
|
```json5
|
||||||
{
|
{
|
||||||
env: { MISTRAL_API_KEY: "sk-..." }, // pragma: allowlist secret
|
env: { MISTRAL_API_KEY: "sk-..." },
|
||||||
agents: { defaults: { model: { primary: "mistral/mistral-large-latest" } } },
|
agents: { defaults: { model: { primary: "mistral/mistral-large-latest" } } },
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -152,7 +152,7 @@ openclaw onboard --non-interactive \
|
||||||
Ref-mode variant:
|
Ref-mode variant:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export CUSTOM_API_KEY="your-key" # pragma: allowlist secret
|
export CUSTOM_API_KEY="your-key"
|
||||||
openclaw onboard --non-interactive \
|
openclaw onboard --non-interactive \
|
||||||
--mode local \
|
--mode local \
|
||||||
--auth-choice custom-api-key \
|
--auth-choice custom-api-key \
|
||||||
|
|
|
||||||
|
|
@ -104,7 +104,7 @@ Brave provides paid plans; check the Brave API portal for the current limits and
|
||||||
search: {
|
search: {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
provider: "brave",
|
provider: "brave",
|
||||||
apiKey: "BSA...", // pragma: allowlist secret; optional if BRAVE_API_KEY is set
|
apiKey: "BSA...", // optional if BRAVE_API_KEY is set
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
@ -132,7 +132,7 @@ which returns AI-synthesized answers backed by live Google Search results with c
|
||||||
provider: "gemini",
|
provider: "gemini",
|
||||||
gemini: {
|
gemini: {
|
||||||
// API key (optional if GEMINI_API_KEY is set)
|
// API key (optional if GEMINI_API_KEY is set)
|
||||||
apiKey: "AIza...", // pragma: allowlist secret
|
apiKey: "AIza...",
|
||||||
// Model (defaults to "gemini-2.5-flash")
|
// Model (defaults to "gemini-2.5-flash")
|
||||||
model: "gemini-2.5-flash",
|
model: "gemini-2.5-flash",
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ If CLI commands feel slow on low-power VMs (or ARM hosts), enable Node's module
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
grep -q 'NODE_COMPILE_CACHE=/var/tmp/openclaw-compile-cache' ~/.bashrc || cat >> ~/.bashrc <<'EOF'
|
grep -q 'NODE_COMPILE_CACHE=/var/tmp/openclaw-compile-cache' ~/.bashrc || cat >> ~/.bashrc <<'EOF'
|
||||||
export NODE_COMPILE_CACHE=/var/tmp/openclaw-compile-cache # pragma: allowlist secret
|
export NODE_COMPILE_CACHE=/var/tmp/openclaw-compile-cache
|
||||||
mkdir -p /var/tmp/openclaw-compile-cache
|
mkdir -p /var/tmp/openclaw-compile-cache
|
||||||
export OPENCLAW_NO_RESPAWN=1
|
export OPENCLAW_NO_RESPAWN=1
|
||||||
EOF
|
EOF
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue