{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "raylinkh-envlatch--reuse-key-groups-for-backend-tests",
 "repo": "Raylinkh/envlatch",
 "repo_url": "https://github.com/Raylinkh/envlatch",
 "repo_slug": "raylinkh-envlatch",
 "title": "Run tests and servers with a saved key group",
 "page_title": "How to run tests and servers with a saved key group with Envlatch",
 "summary": "Save several keys as a named group and launch tests or a backend with one flag.",
 "who": "A backend developer whose test suite needs both an OpenAI key and a GitHub token.",
 "problem": "Repeating several key flags on every command is error-prone.",
 "outcome": "A reusable group that injects the same set of keys every time.",
 "steps": [
  "Create a group with `envlatch groups create \"Backend\" --using OPENAI_API_KEY --using GITHUB_TOKEN`",
  "Run `envlatch run --using \"Backend\" -- npm test`",
  "Start the server with `envlatch run --using \"Backend\" -- python3 server.py`",
  "List groups with `envlatch groups`"
 ],
 "agent_prompt": "Create an EnvLatch group named <name> with <keys>, run `envlatch run --using \"<name>\" -- npm test`, and report whether tests pass. Confirm no .env file was used.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "Group membership is by exact key names, so renaming a key breaks the group.",
 "category": "Security and science",
 "tags": [
  "Security and science"
 ],
 "lang": "swift",
 "requirements": [
  "macOS",
  "Swift toolchain to build from source"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/raylinkh-envlatch/reuse-key-groups-for-backend-tests/",
 "md": "https://dedupedai.com/use-cases/raylinkh-envlatch/reuse-key-groups-for-backend-tests/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/raylinkh-envlatch--reuse-key-groups-for-backend-tests.json",
 "api_version": "v1"
}
