clawpack credentials
Manage runtime credentials for running agents locally.
Subcommands
credentials set
clawpack credentials set [options]Configure provider credentials for running agents. Interactive prompt when no flags provided. Stored at ~/.clawpack/config.json.
| Flag | Description | Default |
|---|---|---|
--provider <name> | Provider name (e.g. github-copilot, openai, anthropic) | — |
--api-key <key> | Provider API key | — |
--model <model> | Default model | — |
--runtime <runtime> | Runtime to use (e.g. openclaw@latest, nullclaw@latest) | openclaw@latest |
-h, --help | Show help | — |
credentials show
clawpack credentials showDisplay stored credentials (keys partially redacted).
credentials clear
clawpack credentials clearRemove all stored credentials.
Examples
# Set up credentials interactively
clawpack credentials set
# Set credentials with flags (non-interactive)
clawpack credentials set --provider openai --api-key sk-... --model gpt-4o
# Use GitHub Copilot
clawpack credentials set --provider github-copilot --api-key ghu_...
# Check what's stored
clawpack credentials show
# Start fresh
clawpack credentials clearSecurity
Credentials are stored in plain text locally. They never leave your machine.
See Also
- Credentials guide
run— Uses stored credentialschat— Uses stored credentials