一键导入
jingui-secret
Handle environment variables and secrets via Jingui. Use when commands need API keys or credentials.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Handle environment variables and secrets via Jingui. Use when commands need API keys or credentials.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | jingui-secret |
| description | Handle environment variables and secrets via Jingui. Use when commands need API keys or credentials. |
If jingui is not in PATH, download it from GitHub Releases and set the server:
curl -fsSL https://github.com/Leechael/jingui/releases/latest/download/jingui-linux-amd64 -o /usr/local/bin/jingui
chmod +x /usr/local/bin/jingui
The server URL must be configured. Check for JINGUI_SERVER_URL in the environment, or ask the user to provide it:
export JINGUI_SERVER_URL=https://jingui.example.com
After setup, run jingui status --server $JINGUI_SERVER_URL and show the output to the user. This prints the instance's FID (fingerprint ID) and public key — the user needs these to register the instance and grant vault access on the server side.
When a bash command needs secrets, wrap it with jingui run:
jingui run --env-file=".env.agent" -- [cmd]
Before running a command that requires credentials (API keys, tokens, passwords):
OPENAI_API_KEY, AWS_SECRET_ACCESS_KEY, DATABASE_URL).jingui:// URI to .env.agent:
OPENAI_API_KEY=jingui://ai-keys/openai/api_key
jingui run so the secret is injected at runtime.If the required secret is not yet configured on the server, tell the user to add it using the jingui://<vault>/<item>/<field_name> format. Do NOT ask the user to paste the secret value directly.
.env.agent file contents directly — treat it as opaque..env.agent as-is. Lines without jingui:// URIs pass through unchanged.op:// URIs are also supported as an alias for jingui://.echo, cat, or log secret values. Jingui redacts them from stdout/stderr, but avoid it regardless.ps output). Always use env var injection.