Verifiedon 2026.7.1-2
Action boundary
Before you act
- Expected result
- A live provider check succeeds while the credential remains absent from the workspace and redacted evidence.
- Failure mode
- A provider key is pasted into a repository, shell history, screenshot, chat transcript, or readable agent workspace.
- Rollback
- Revoke the test credential, remove the onboarding state only through documented reset/uninstall paths, and start again with a new credential.
Treat provider setup as a boundary decision
Guided onboarding is the supported route for a first configuration. The CLI reference says plain openclaw onboard starts the guided flow; it can select a provider, perform a live inference check, and install a daemon when requested. A failed live check is a stop signal, not an invitation to lower the boundary or copy a key into a config file.
Lab: one provider, one revocable test credential
- Create a provider credential with a fixed test budget and no broad business access.
- Start
openclaw onboardand choose exactly one provider path. - Prefer the onboarding secret-reference option where it is supported. The primary secrets documentation explains that SecretRefs avoid persisting supported credentials as plaintext configuration values, but are not process isolation.
- Complete the live provider check. Record only pass/fail, provider name, model identifier, time, and the version—never the credential or raw response.
What not to do
Do not add keys to a repository .env, a workspace instruction file, a screenshot, a shared terminal recording, or a support ticket. Do not mistake redaction for revocation: if a credential appears in any readable place, revoke it and create a new test credential.
Scenario check
A screenshot of onboarding accidentally reveals the first characters of a key. What is the next action? Revoke and replace the key, remove the image from every destination you control, and repeat the check with a redacted capture. Editing the screenshot alone does not prove the original is inaccessible.
Source provenanceVerification and sources
Review receipt rr_setup_provider_secrets
- Outcome
- approved
- Method
- source-review
- Reviewer
- forge-independent-review
- Reviewed
Evidence
- openclaw-docs-index — openclaw-main-1237c0c-gateway-secrets; snapshot
2c5dc579107b…
Limitations
- Independent source review approved the bounded secret-handling procedure; no real provider credential was accessed.
Lesson checkpoint
Ready to move on?
Mark this lesson complete when you can apply its outcome without relying on the examples above.