返回顶部
s

secret-portal

Spin up a one-time web UI for securely entering secret keys and env vars. Supports guided instructions, single-key mode, and cloudflared tunneling.

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

secret-portal

# Secret Portal Spin up a temporary, one-time-use web UI for securely entering secret keys and environment variables. No secrets ever touch chat history or terminal logs. ## Quick Start ```bash # Single key with cloudflared tunnel (recommended) uv run --with secret-portal secret-portal \ -k API_KEY_NAME \ -f ~/.secrets/target-env-file \ --tunnel cloudflared # With guided instructions and a link to the key's console uv run --with secret-portal secret-portal \ -k OPENAI_API_KEY \ -f ~/.env \ -i '<strong>Get your key:</strong><ol><li>Go to platform.openai.com</li><li>Click API Keys</li><li>Create new key</li></ol>' \ -l "https://platform.openai.com/api-keys" \ --link-text "Open OpenAI dashboard →" \ --tunnel cloudflared # Multi-key mode (no -k flag, user enters key names and values) uv run --with secret-portal secret-portal \ -f ~/.secrets/keys.env \ --tunnel cloudflared ``` ## Options | Flag | Description | |------|-------------| | `-k, --key` | Pre-populate a single key name (user only enters the value) | | `-f, --env-file` | Path to save secrets to (default: `~/.env`) | | `-i, --instructions` | HTML instructions shown above the input field | | `-l, --link` | URL button for where to get/create the key | | `--link-text` | Label for the link button (default: "Open console →") | | `--tunnel` | `cloudflared` (recommended), `ngrok`, or `none` | | `-p, --port` | Port to bind to (default: random) | | `--timeout` | Seconds before auto-shutdown (default: 300) | ## Tunneling **Use `--tunnel cloudflared`** — it's free, requires no account, has no interstitial pages, provides HTTPS, and auto-downloads the binary if missing. ngrok free tier shows an interstitial warning page that blocks mobile and automated use. Without a tunnel, the port must be open in your firewall/security group. The CLI will warn you if it detects the port is unreachable. ## Security - One-time use: portal expires after a single submission - Token auth: URL contains a random 32-byte token - Secret values are **never** printed to stdout/stderr (enforced by tests) - Env file is written with `600` permissions (owner-only) - Secrets never touch chat history or terminal logs ## Source https://github.com/Olafs-World/secret-portal

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 secret-portal-1776326590 技能

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

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

通过命令行安装

skillhub install secret-portal-1776326590

下载 Zip 包

⬇ 下载 secret-portal v0.1.0

文件大小: 1.91 KB | 发布时间: 2026-4-17 15:40

v0.1.0 最新 2026-4-17 15:40
Initial release

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

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

p2p_official_large
返回顶部