Install
openclaw skills install secret-managerClawHub Security found sensitive or high-impact capabilities. Review the scan results before using.
Manage API keys securely via GNOME Keyring and inject them into OpenClaw config.
openclaw skills install secret-managerA secure way to manage API keys for OpenClaw using the system keyring (GNOME Keyring / libsecret).
This skill provides a secret-manager CLI that:
secret-tool.auth-profiles.json.systemd user environment.Ensure you have the dependencies:
sudo apt install libsecret-toolssudo dnf install libsecretsudo pacman -S libsecretCopy the script to your path or run it directly.
The script uses default paths that work for most OpenClaw installations, but you can override them with environment variables:
| Variable | Description | Default |
|---|---|---|
OPENCLAW_CONTAINER | Name of the Distrobox container | clawdbot |
OPENCLAW_HOME | Path to OpenClaw config directory | ~/.openclaw |
SECRETS_ENV_FILE | Path to an optional .env file to source | ~/.config/openclaw/secrets.env |
List all configured keys:
secret-manager list
Set a key (interactive prompt):
secret-manager OPENAI_API_KEY
# (Paste key when prompted)
Set a key (direct):
secret-manager DISCORD_BOT_TOKEN "my-token-value"
Supported Keys:
OPENAI_API_KEYGEMINI_API_KEYDISCORD_BOT_TOKENGATEWAY_AUTH_TOKENOLLAMA_API_KEYGIPHY_API_KEYGOOGLE_PLACES_API_KEYLINKEDIN_LI_ATLINKEDIN_JSESSIONID