infisical
БесплатноБез исполняемых скриптовНе проверенInfisical is an open-source secrets management platform that stores API keys, database URLs and other secrets centrally and delivers them to apps, CI/CD…
от TerminalSkills★ 221 звезда на GitHubОб этом скилле
Infisical
Overview
Infisical is an open-source secrets management platform — a centralized place to store, sync, and rotate secrets (API keys, database URLs, tokens) across your team and infrastructure. Instead of .env files scattered across repos and Slack messages with passwords, Infisical stores secrets encrypted, syncs them to environments, injects them into CI/CD, and rotates them automatically.
Secrets live in a project, split by environment (dev, staging, prod) and folder path (/, /backend). People sign in with their account; pipelines and servers authenticate as a machine identity. Use Infisical Cloud (https://app.infisical.com, EU: https://eu.infisical.com) or self-host it.
When to Use
- Team sharing secrets via Slack/email (insecure)
.envfiles in repos or shared drives- Need secrets in CI/CD without hardcoding
- Rotating API keys and database passwords
- Multi-environment config (dev/staging/prod)
- Compliance requirement for secrets audit trail
Instructions
Setup
# Install the CLI (pick one)
brew install infisical/get-cli/infisical # macOS
winget install infisical # Windows
npm install -g @infisical/cli # any platform with Node.js
infisical --version
# Log in with your own account (opens the browser; -i for a terminal-only login)
infisical login
# Link the current directory to a project; writes .infisical.json (safe to commit)
infisical init
For EU Cloud or a self-hosted instance, set INFISICAL_DOMAIN (or pass --domain) before running other commands, for example export INFISICAL_DOMAIN="https://secrets.harborline.dev".
Store and Retrieve Secrets
# Import an existing .env file into the dev environment
infisical secrets set --file=.env --env=dev
# Set individual secrets (values come from the shell, not from the script); the folder must exist first
infisical secrets folders create --name=backend --env=prod
infisical secrets set STRIPE_SECRET_KEY="$STRIPE_SECRET_KEY" --env=prod --path=/backend
# List secrets, read one value
infisical secrets --env=dev
infisical secrets get DATABASE_URL --env=dev --plain
# Run your app with injected secrets
infisical run -- npm start
# ^ Injects all secrets of the dev environment as environment variables
# Run with a specific environment; restart when a secret changes
infisical run --env=prod --watch -- node server.js
# Write a file for tools that cannot take environment variables
infisical export --env=prod --format=dotenv --output-file=.env.production
--env defaults to dev; set defaultEnvironment or gitBranchToEnvironmentMapping in .infisical.json to change that per directory.
Machine Identities (CI, servers, containers)
Create a machine identity in the dashboard, add it to the project with a read role, and create a Universal Auth client secret. The CLI exchanges the pair for a short-lived token:
export INFISICAL_TOKEN=$(infisical login --method=universal-auth \
--client-id="$INFISICAL_CLIENT_ID" --client-secret="$INFISICAL_CLIENT_SECRET" --silent --plain)
# A machine identity does not read .infisical.json: pass the project explicitly
infisical run --projectId="$INFISICAL_PROJECT_ID" --env=prod -- node server.js
SDK Usage
// config.ts — Fetch secrets programmatically (npm install @infisical/sdk, Node.js 20+)
import { InfisicalSDK } from "@infisical/sdk";
const client = new InfisicalSDK({
siteUrl: "https://secrets.harborline.dev", // omit for Infisical Cloud US
});
// Machine identity (Universal Auth); the access token is kept on the client
await client.auth().universalAuth.login({
clientId: process.env.INFISICAL_CLIENT_ID!,
clientSecret: process.env.INFISICAL_CLIENT_SECRET!,
});
// All secrets of one environment and folder
const { secrets } = await client.secrets().listSecrets({
environment: "prod",
projectId: process.env.INFISICAL_PROJECT_ID!,
secretPath: "/",
});
// One secret by name
const dbUrl = await client.secrets().getSecret({
environment: "prod",
projectId: process.env.INFISICAL_PROJECT_ID!,
secretName: "DATABASE_URL",
});
console.log(secrets.length, dbUrl.secretKey); // never log secretValue
The older InfisicalClient class is gone; SDK versions before 4.0.0 are unsupported. Official SDKs also exist for Python, Go, Java, .NET, Ruby, PHP, Rust and C++.
CI/CD Integration
# .github/workflows/deploy.yml — Inject secrets in GitHub Actions
name: Deploy
on: push
permissions:
id-token: write # lets GitHub issue the OIDC token Infisical verifies
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Infisical/[email protected]
with:
method: "oidc"
identity-id: "7c2f6f4e-1d0b-4a53-9a51-5f0c2e8f3b9d" # machine identity ID, not a secret
project-slug: "orders-service-k3vd"
env-slug: "prod"
# domai
Установить infisical в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл infisical?
Infisical is an open-source secrets management platform that stores API keys, database URLs and other secrets centrally and delivers them to apps, CI/CD pipelines and Kubernetes. Use when someone asks to "manage secrets", "Infisical", "centralize environment variables", "secrets manager", "replace .env files", "rotate API keys", "scan for leaked secrets", or "sync secrets to CI/CD".
Как установить скилл infisical?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл infisical запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic