Docs: remove MDX-breaking secret markers

This commit is contained in:
Vincent Koc
2026-03-07 10:09:00 -08:00
parent e4d80ed556
commit 61273c072c
5 changed files with 7 additions and 7 deletions

View File

@@ -108,10 +108,10 @@ Gateway call/probe credential resolution now follows one shared contract:
- Explicit credentials (`--token`, `--password`, or tool `gatewayToken`) always win.
- Local mode defaults:
- 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:
- 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.
- Legacy `CLAWDBOT_GATEWAY_*` env vars are only used by compatibility call paths; probe/status/auth resolution uses `OPENCLAW_GATEWAY_*` only.

View File

@@ -24,7 +24,7 @@ openclaw onboard --mistral-api-key "$MISTRAL_API_KEY"
```json5
{
env: { MISTRAL_API_KEY: "sk-..." }, // pragma: allowlist secret
env: { MISTRAL_API_KEY: "sk-..." },
agents: { defaults: { model: { primary: "mistral/mistral-large-latest" } } },
}
```

View File

@@ -152,7 +152,7 @@ openclaw onboard --non-interactive \
Ref-mode variant:
```bash
export CUSTOM_API_KEY="your-key" # pragma: allowlist secret
export CUSTOM_API_KEY="your-key"
openclaw onboard --non-interactive \
--mode local \
--auth-choice custom-api-key \

View File

@@ -104,7 +104,7 @@ Brave provides paid plans; check the Brave API portal for the current limits and
search: {
enabled: true,
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",
gemini: {
// API key (optional if GEMINI_API_KEY is set)
apiKey: "AIza...", // pragma: allowlist secret
apiKey: "AIza...",
// Model (defaults to "gemini-2.5-flash")
model: "gemini-2.5-flash",
},

View File

@@ -58,7 +58,7 @@ If CLI commands feel slow on low-power VMs (or ARM hosts), enable Node's module
```bash
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
export OPENCLAW_NO_RESPAWN=1
EOF