返回顶部
🇺🇸 English
🇨🇳 简体中文
🇨🇳 繁體中文
🇺🇸 English
🇯🇵 日本語
🇰🇷 한국어
🇫🇷 Français
🇩🇪 Deutsch
🇪🇸 Español
🇷🇺 Русский
s

secret-manager

Manage API keys securely via GNOME Keyring and inject them into OpenClaw config.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
1,214
下载量
0
收藏
概述
安装方式
版本历史

secret-manager

# Secret Manager A secure way to manage API keys for OpenClaw using the system keyring (GNOME Keyring / libsecret). This skill provides a `secret-manager` CLI that: 1. Stores API keys securely using `secret-tool`. 2. Injects them into your `auth-profiles.json`. 3. Propagates them to `systemd` user environment. 4. Restarts the OpenClaw Gateway service inside your Distrobox container. ## Installation Ensure you have the dependencies: - **Debian/Ubuntu:** `sudo apt install libsecret-tools` - **Fedora:** `sudo dnf install libsecret` - **Arch:** `sudo pacman -S libsecret` Copy the script to your path or run it directly. ## Configuration 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` | ## Usage **List all configured keys:** ```bash secret-manager list ``` **Set a key (interactive prompt):** ```bash secret-manager OPENAI_API_KEY # (Paste key when prompted) ``` **Set a key (direct):** ```bash secret-manager DISCORD_BOT_TOKEN "my-token-value" ``` **Supported Keys:** - `OPENAI_API_KEY` - `GEMINI_API_KEY` - `DISCORD_BOT_TOKEN` - `GATEWAY_AUTH_TOKEN` - `OLLAMA_API_KEY` - `GIPHY_API_KEY` - `GOOGLE_PLACES_API_KEY` - `LINKEDIN_LI_AT` - `LINKEDIN_JSESSIONID`

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 secret-manager-1776344003 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 secret-manager-1776344003 技能

通过命令行安装

skillhub install secret-manager-1776344003

下载 Zip 包

⬇ 下载 secret-manager v1.0.0

文件大小: 3.88 KB | 发布时间: 2026-4-17 13:57

v1.0.0 最新 2026-4-17 13:57
Initial release - GNOME Keyring integration for secure API key management

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部