कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

secret-manager

jswortz द्वारा

Coding Agents & IDEs
997clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

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

विवरण

यह स्किल क्या करती है

CLI tool that stores API keys in GNOME Keyring via libsecret and syncs them to OpenClaw config files and the systemd user environment. Supports keys for OpenAI, Gemini, Discord, GIPHY, Google Places, LinkedIn, and Ollama. Restarts the OpenClaw Gateway inside a Distrobox container after updates.

Keeps credentials in the OS keyring rather than plaintext config files, reducing the risk of accidental exposure via dotfiles or version control.

इसे कब इस्तेमाल करें

  • Storing an OpenAI API key without hardcoding it in config files
  • Rotating a Discord bot token across all OpenClaw services at once
  • Listing all currently configured API keys from the command line
  • Setting up a fresh OpenClaw installation with all required credentials
  • Propagating a new Gemini API key to the running gateway without manual restarts

उदाहरण वर्कफ़्लो

इनपुट

User asks: add my OpenAI API key to OpenClaw

एजेंट
  1. 1

    Run 'secret-manager list' to check existing keys

  2. 2

    Run 'secret-manager OPENAI_API_KEY' and prompt user to paste the key

  3. 3

    Script stores the key in GNOME Keyring via secret-tool

  4. 4

    Script injects the key into auth-profiles.json and propagates it to systemd user environment

  5. 5

    Script restarts the OpenClaw Gateway service inside the Distrobox container

आउटपुट

OPENAI_API_KEY stored in system keyring and active in the running OpenClaw Gateway

आवश्यकताएँ

  • libsecret-tools system package (apt install libsecret-tools / dnf install libsecret / pacman -S libsecret)
  • API keys for each service to be configured (e.g. OPENAI_API_KEY, GEMINI_API_KEY, DISCORD_BOT_TOKEN)
  • GNOME Keyring running (standard on GNOME-based Linux desktops)

इंस्टॉलेशन

clawhub install jswortz/secret-manager

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक