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.

FlagDescriptionDefault
--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, --helpShow help

credentials show

clawpack credentials show

Display stored credentials (keys partially redacted).

credentials clear

clawpack credentials clear

Remove 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 clear

Security

Credentials are stored in plain text locally. They never leave your machine.

See Also