К основному содержанию
скилл CX Codex

infisical-app-connections — скилл для Claude Code: App Connections

Скилл infisical-app-connections объясняет, как связать Infisical с внешним сервисом через App Connection и какой метод авторизации брать для AWS, GCP, Azure или GitHub.

MIT 257 установок ★ 41 обновлён 2026-10-19

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add Infisical/ai-skills --skill infisical-app-connections -a claude-code
Открыть на GitHub

Что делает infisical-app-connections

Скилл ведёт по созданию App Connection: это запись с учётными данными, которую потом по ID используют Secret Syncs, ротации секретов, PKI и сканирование репозиториев. Тип соединения задаёт та фича, которой оно нужно: для ротации PostgreSQL нужен именно postgres, заменить общим нельзя. Агент сначала спрашивает, что вы настраиваете, потом подбирает тип и метод авторизации.

Внутри — справочники по 83 типам соединений: точные значения method и поля credentials, флаги Gateway, платформенные учётные данные. Два файла генерируются из исходников Infisical скриптом tools/generate-app-connection-refs.py. Где есть метод без статического секрета, скилл советует его: assume-role вместо access-key, GitHub App вместо PAT.

Про Gateway отдельно: gatewayId принимают только 16 типов соединений, для остальных это ошибка валидации. gatewayId и gatewayPoolId вместе указать нельзя. И ещё один капкан: из 94 эндпоинтов, которые перечисляют ресурсы провайдера, 88 пускают только пользовательскую сессию — токен машинной идентичности там отклонят, а ID ресурса придётся добывать вручную или через UI.

Какие задачи решает

  • создать App Connection для AWS через assume-role
  • понять, какой тип соединения требует Secret Sync
  • починить ошибку connection not found при создании синхронизации
  • провести соединение через Gateway в закрытую сеть
  • переиспользовать одно соединение в нескольких синках

Примеры запросов агенту

  • Нужно, чтобы Infisical пушил секреты в AWS. Какой тип App Connection создать и как его настроить?
  • При создании синка падает connection not found — что проверить?
  • База стоит в приватной сети, как привязать к соединению Gateway?

Как установить infisical-app-connections

1Через Skills CLI (Vercel)

npx skills add Infisical/ai-skills --skill infisical-app-connections -a claude-code

2Вручную: положить файлы

~/.claude/skills/infisical-app-connections/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/infisical-app-connections/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы об infisical-app-connections

Как установить infisical-app-connections в Claude Code?

Выполните npx skills add Infisical/ai-skills --skill infisical-app-connections -a claude-code. Скилл окажется в ~/.claude/skills/infisical-app-connections/SKILL.md.

Что делает infisical-app-connections?

Помогает агенту создать App Connection — связку организации Infisical с внешним сервисом, на которую по ID ссылаются синхронизации, ротации, PKI и сканирование. Заодно подбирает тип соединения и метод авторизации.

Чем App Connection отличается от машинной идентичности?

Машинная идентичность пускает внешнюю нагрузку внутрь Infisical. App Connection работает в обратную сторону: Infisical сам авторизуется в стороннем сервисе. Если у вас на руках Client ID и Client Secret, выпущенные Infisical, нужен скилл infisical-setup.

Исходный текст

SKILL.md · MIT
---
name: infisical-app-connections
description: "Guide for creating and managing Infisical App Connections — the reusable authenticated links between Infisical and third-party services that Secret Syncs, Secret Rotations, PKI certificate authorities, PKI Syncs, and Secret Scanning data sources all depend on. Covers all 83 connection types and their exact auth methods (AWS assume-role vs access-key, GitHub OAuth vs GitHub App vs PAT, Azure OAuth vs client-secret vs certificate, GCP service account impersonation, and more), platform-managed credentials, Gateway-routed connections for private networks, and connection-level credential rotation. Use this skill when someone asks about: App Connections, connecting Infisical to AWS/GCP/Azure/GitHub, 'connection not found' when creating a sync, which auth method a connection needs, reusing a connection across syncs, or 'how do I authenticate Infisical to a third-party service'. This is Infisical authenticating OUTWARD to a third party. Not for machine identities, which are workloads authenticating INTO Infisical (infisical-setup)."
---
# Infisical App Connections Guide

You are a setup assistant helping users create App Connections — the reusable, authenticated
connection between an Infisical organization and a third-party service.

An App Connection holds credentials once and is then referenced by ID from many features. It is a
**prerequisite**, not a feature in its own right: users usually arrive here because something else
demanded a `connectionId`.

## Why this is its own skill

Five different features consume App Connections:

| Feature | Skill | What it uses the connection for |
|---------|-------|--------------------------------|
| Secret Syncs | `infisical-secret-syncs` | Pushing secrets to the destination |
| Secret Rotations | `infisical-secret-rotation` | Changing the credential at the source |
| PKI Syncs | `infisical-pki` | Pushing certificates to a destination |
| Certificate Authorities | `infisical-pki` | ACME DNS validation, ADCS, Venafi, DigiCert |
| Secret Scanning data sources | `infisical-secret-scanning` | Reading repositories to scan |

The connection type is **fixed by the consuming feature**. A PostgreSQL secret rotation requires a
`postgres` connection specifically; you cannot substitute a generic one. Always confirm which
connection type the target feature demands before creating one.

## Not this skill

| If the user wants... | Use |
|----------------------|-----|
| To push secrets to a service | `infisical-secret-syncs` (create the connection here first) |
| To rotate an existing credential | `infisical-secret-rotation` |
| A machine identity so *their workload* can authenticate **to** Infisical | `infisical-setup` — that is the opposite direction |
| To reach a private network | `infisical-gateway` — then attach the gateway to a connection here |

The direction of trust is the thing people confuse. A **machine identity** lets an outside workload
authenticate *into* Infisical. An **App Connection** lets Infisical authenticate *out* to a third
party. If the user is holding a Client ID and Client Secret that Infisical issued, they want
machine identities, not this skill.

## How to use this skill

1. **Find out which feature needs it** and therefore which connection type is required
2. **Pick the auth method** — most connections support several, with meaningfully different setup
3. **Grant the minimum permissions** on the third-party side
4. **Decide on Gateway routing** if the target is not publicly reachable
5. **Create the connection**, then reference its UUID from the consuming feature

## Reference files

Two of these are **generated from the Infisical source** — they hold facts, and
`tools/generate-app-connection-refs.py` reproduces them. The rest are hand-written guidance.

| File | Generated? | When to read |
|------|-----------|-------------|
| `references/api-surface.md` | **yes** | The endpoints: per-connection CRUD, and which discovery endpoints a machine identity can actually call |
| `references/credentials-by-connection.md` | **yes** | Exact `method` values and `credentials` fields for all 83 connections |
| `references/connection-catalog.md` | no | The 83 connections at a glance, with Gateway / platform-managed / rotation capability flags |
| `references/cloud-providers.md` | no | AWS, GCP, Azure (all variants), and their permission requirements |
| `references/git-and-cicd.md` | no | GitHub (+ GitHub Radar), GitLab, Bitbucket, Azure DevOps, CI providers |
| `references/databases-and-infra.md` | no | PostgreSQL, MySQL, MSSQL, OracleDB, MongoDB, Redis, LDAP, SSH, SMB/WinRM, and Gateway + platform-managed credentials |

## Guiding principles

- **Prefer the zero-secret method where one exists.** AWS `assume-role` beats `access-key`. GCP only offers `service-account-impersonation`. GitHub App beats a PAT. Only fall back to a static credential when the platform gives no alternative.
- **Auth method values are exact strings.** `assume-role`, `access-key`, `github-app`, `pat`, `client-secret`, `service-account-impersonation`. Read them from the catalog rather than guessing; near-misses like `access-keys` or `github_app` fail validation.
- **One connection, many consumers.** Connections are org-level and reusable. Do not create one per sync. Optionally scope one to a project with `projectId`.
- **A connection is not a Gateway.** Only 16 connection types accept `gatewayId`. For the rest, passing one is a validation error, not a no-op.
- **`gatewayId` and `gatewayPoolId` are mutually exclusive.** Specifying both fails.
- **Connection credential rotation is a different feature from Secret Rotation.** Five connection types can rotate *their own* stored credential. That does not write anything into your secrets — for that, use `infisical-secret-rotation`.
- **Most resource-discovery endpoints cannot be automated.** Infisical exposes 94 endpoints that list a provider's resources (vaults, repositories, clusters). **88 are `AuthMode.JWT` only** — a user session. A machine identity access token is rejected, and many are marked in-source as "not exposed and for Infisical App use". Only 6 accept a machine identity token. To get a resource ID for a sync or rotation config, query the provider directly, or create the resource once in the UI and read its config back through the API. See `references/api-surface.md`.
- **Resolve a connection by name, not by UUID.** `GET /api/v1/app-connections/<slug>/connection-name/{connectionName}` exists and accepts a machine identity token, so automation need not store UUIDs.
- **Least privilege on the third-party side.** The connection's permissions bound what every consuming sync and rotation can do. Scope narrowly, and mention this when a user is about to hand over an admin key.
- **Never generate credentials on the user's behalf,** and never echo a credential back.

© Infisical · MIT · Infisical/ai-skills

Похожие скиллы

Все скиллы по теме «Безопасность» →
pulumi-esc pulumi Скилл учит ИИ настраивать окружения, секреты и OIDC-авторизацию в Pulumi ESC. Помогает собирать YAML-манифесты и связывать их со стеками Pulumi. CX Codex +1 1 500установок prowler-sdk-check prowler-cloud Скилл prowler-sdk-check для Claude Code, Codex, Cursor и других IDE помогает писать проверки безопасности Prowler по архитектурным паттернам SDK. CX Codex +1 ★ 15 302звёзд репо setting-up-cloudwatch-observability aws Скилл setting-up-cloudwatch-observability для Claude Code помогает настроить CloudWatch Omni или подключить сервис к Application Signals. Он разбирает запрос на первичное подключение и направляет к нужным инструкциям. CX Codex +1 2 100установок agents-connect aws-agentcore agents-connect — скилл для Claude Code, который подключает к агенту внешние API и инструменты через AgentCore Gateway. Он также помогает ограничивать вызовы с помощью политик Cedar. CX Codex +1 2 100установок private-connectivity grafana Скилл private-connectivity для Claude Code, Cursor, Codex и других агентов настраивает приватное подключение к Grafana Cloud через AWS PrivateLink, Azure Private Link или GCP Private Service Connect. CX Codex +1 4 500установок cloud-audit briiirussell Скилл cloud-audit проверяет облачную инфраструктуру и PaaS на открытые доступы, лишние права и проблемы с деплоем. Нужен перед разбором cloud security. CX Codex +1 452установок

Из того же набора17

Весь набор →
infisical-dynamic-secrets Скилл infisical-dynamic-secrets для Claude Code настраивает выпуск временных доступов в Infisical для 30 провайдеров: разовые учётные данные баз данных и облака для CI и отладки. CX Codex +1 852установок infisical-self-host Скилл infisical-self-host помогает развернуть и настроить серверную платформу Infisical в Docker Compose или Kubernetes. Пригодится при настройке базы данных PostgreSQL, очередей Redis и параметров безопасности. CX Codex +1 834установок infisical-terraform Скилл infisical-terraform подсказывает агенту, как настроить провайдер Infisical в Terraform, вынести секреты в ephemeral-ресурсы и подключить Terraform Cloud через OIDC. CX Codex +1 586установок infisical-access-control Скилл infisical-access-control для Claude Code помогает разбираться в управлении доступом Infisical: ролях, правах на секреты, временном доступе, согласованиях и аудит-логах. CX Codex +1 267установок infisical-secret-rotation Скилл infisical-secret-rotation помогает настроить регулярную смену существующих паролей и ключей в Infisical с записью новых значений в хранилище. CX Codex +1 255установок infisical-secret-scanning Скилл infisical-secret-scanning помогает найти утёкшие ключи в репозитории и поставить проверку до пуша: облачные источники, infisical scan, pre-commit хук. CX Codex +1 254установок infisical-kms Скилл объясняет агенту, как шифровать, подписывать и считать HMAC ключами Infisical KMS, которые не покидают платформу. CX Codex +1 238установок infisical-pam Настраивает доступ людей и ИИ-агентов к серверам и базам через Infisical PAM без передачи паролей наружу. CX Codex +1 238установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой