{"skill":{"slug":"secret-manager","displayName":"Secret Manager","summary":"Manage API keys securely via GNOME Keyring and inject them into OpenClaw config.","description":"---\nname: secret-manager\ndescription: Manage API keys securely via GNOME Keyring and inject them into OpenClaw config.\nhomepage: https://github.com/openclaw/skills\nmetadata: {\"clawdbot\":{\"emoji\":\"🔐\",\"requires\":{\"bins\":[\"secret-tool\",\"systemctl\",\"python3\"]},\"install\":[{\"id\":\"bash\",\"kind\":\"bash\",\"bin\":\"secret-manager.sh\",\"label\":\"Install Secret Manager (bash)\"}]}}\n---\n\n# Secret Manager\n\nA secure way to manage API keys for OpenClaw using the system keyring (GNOME Keyring / libsecret).\n\nThis skill provides a `secret-manager` CLI that:\n1.  Stores API keys securely using `secret-tool`.\n2.  Injects them into your `auth-profiles.json`.\n3.  Propagates them to `systemd` user environment.\n4.  Restarts the OpenClaw Gateway service inside your Distrobox container.\n\n## Installation\n\nEnsure you have the dependencies:\n- **Debian/Ubuntu:** `sudo apt install libsecret-tools`\n- **Fedora:** `sudo dnf install libsecret`\n- **Arch:** `sudo pacman -S libsecret`\n\nCopy the script to your path or run it directly.\n\n## Configuration\n\nThe script uses default paths that work for most OpenClaw installations, but you can override them with environment variables:\n\n| Variable | Description | Default |\n| :--- | :--- | :--- |\n| `OPENCLAW_CONTAINER` | Name of the Distrobox container | `clawdbot` |\n| `OPENCLAW_HOME` | Path to OpenClaw config directory | `~/.openclaw` |\n| `SECRETS_ENV_FILE` | Path to an optional .env file to source | `~/.config/openclaw/secrets.env` |\n\n## Usage\n\n**List all configured keys:**\n```bash\nsecret-manager list\n```\n\n**Set a key (interactive prompt):**\n```bash\nsecret-manager OPENAI_API_KEY\n# (Paste key when prompted)\n```\n\n**Set a key (direct):**\n```bash\nsecret-manager DISCORD_BOT_TOKEN \"my-token-value\"\n```\n\n**Supported Keys:**\n- `OPENAI_API_KEY`\n- `GEMINI_API_KEY`\n- `DISCORD_BOT_TOKEN`\n- `GATEWAY_AUTH_TOKEN`\n- `OLLAMA_API_KEY`\n- `GIPHY_API_KEY`\n- `GOOGLE_PLACES_API_KEY`\n- `LINKEDIN_LI_AT`\n- `LINKEDIN_JSESSIONID`\n","tags":{"latest":"1.0.0"},"stats":{"comments":0,"downloads":1879,"installsAllTime":71,"installsCurrent":2,"stars":0,"versions":1},"createdAt":1770481536762,"updatedAt":1779076849060},"latestVersion":{"version":"1.0.0","createdAt":1770481536762,"changelog":"Initial release - GNOME Keyring integration for secure API key management","license":null},"metadata":{"setup":[],"os":null,"systems":null},"owner":{"handle":"jswortz","userId":"s17drqgr1025vs9pwgf1rmrwqs8842a4","displayName":"jswortz","image":"https://avatars.githubusercontent.com/u/17274039?v=4"},"moderation":{"isSuspicious":false,"isMalwareBlocked":false,"verdict":"clean","reasonCodes":["review.llm_review"],"summary":"Review: review.llm_review","engineVersion":"v2.4.24","updatedAt":1779957568086}}