Skip to main content

env

Manage Convex env vars / secrets (set, wire into actions, never hardcode). TRIGGER on an API-key/secret/env-var request.

来源信息

仓库
convex/convex-codex-plugin
最近来源活动
2026年10月13日 21:11
检测到的 SKILL.md 语言
英语
星标
5
Forks
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
env
description
Manage Convex env vars / secrets (set, wire into actions, never hardcode). TRIGGER on an API-key/secret/env-var request.
license
Apache-2.0
# Manage env vars + secrets Store secrets as Convex deployment env vars (npx convex env set), read them with process.env in actions, never commit them. ## Steps 1. `npx convex env set KEY value` (per deployment). 2. Read via process.env.KEY inside actions (not queries/mutations). 3. Never hardcode or commit secrets; add to .env.local only for local. 4. Confirm it's set with `npx convex env list --names-only`, which lists names without printing the secret values. ## Rules - Secrets live in Convex env vars, never in code or git. - process.env only in actions ('use node' if needed), not queries/mutations. - Different deployments need their own values. - Check what is set with `npx convex env list --names-only`; never print secret values into the conversation.
在 GitHub 查看