infisical-secret-syncs — Claude Code skill: setup guide
This skill guides Secret Sync setup from Infisical to third-party services. Use it for AWS, GitHub, Vercel, and other supported destinations.
npx skills add Infisical/ai-skills --skill infisical-secret-syncs -a claude-codeWhat infisical-secret-syncs does
The skill walks through a Secret Sync configuration: selecting the Infisical environment and folder, setting destination-specific options, and choosing how the first sync should handle existing values. It also covers key schemas, automatic syncing, and deletion protection.
It covers 48 destinations, including AWS Secrets Manager, GCP Secret Manager, Azure Key Vault, GitHub, Vercel, HashiCorp Vault, Cloudflare, Snowflake, Databricks, and Railway. An App Connection with suitable permissions is required before a sync can be configured.
Provider-specific details are part of the guidance. GitHub and Cloudflare Workers cannot import existing secrets, Azure Key Vault changes underscores to hyphens, and one-to-one or many-to-one mapping applies only to AWS Secrets Manager.
What it helps with
- send Infisical secrets to AWS Secrets Manager
- sync environment variables with Vercel
- prepare secrets for GitHub Actions
- choose a key schema and first-sync mode
- check destination-specific provider limits
Example prompts for the agent
- Set up a Secret Sync from Infisical to
AWS Secrets Managerand explain the first-sync options. - Walk me through sending project secrets to
Vercel, including the App Connection and key schema. - How do I sync this project with
GitHub, and which destination limits should I account for?
How to install infisical-secret-syncs
1Skills CLI (Vercel)
npx skills add Infisical/ai-skills --skill infisical-secret-syncs -a claude-code2Manually: put the files in place
~/.claude/skills/infisical-secret-syncs/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/infisical-secret-syncs/
1Skills CLI (Vercel)
npx skills add Infisical/ai-skills --skill infisical-secret-syncs -a codex2Manually: put the files in place
.agents/skills/infisical-secret-syncs/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add Infisical/ai-skills --skill infisical-secret-syncs -a cursor2Manually: put the files in place
.cursor/skills/infisical-secret-syncs/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install Infisical/ai-skills infisical-secret-syncs2Manually: put the files in place
.github/skills/infisical-secret-syncs/SKILL.md1Skills CLI (Vercel)
npx skills add Infisical/ai-skills --skill infisical-secret-syncs -a gemini-cli2Platform CLI
gemini skills install https://github.com/Infisical/ai-skills --path skills/infisical-secret-syncsManually: put the files in place
.devin/skills/infisical-secret-syncs/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add Infisical/ai-skills --skill infisical-secret-syncs -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about infisical-secret-syncs
How do I install infisical-secret-syncs in Claude Code?
Run npx skills add Infisical/ai-skills --skill infisical-secret-syncs -a claude-code, then open ~/.claude/skills/infisical-secret-syncs/SKILL.md.
What does infisical-secret-syncs do?
It guides the setup of Secret Sync from Infisical to third-party services. The workflow covers the source, destination, App Connection, and sync settings.
What is required before configuring a Secret Sync?
You need an App Connection with the right permissions for the destination. Then choose the Infisical environment and folder, configure the destination, and select the initial sync behavior.
Source text
SKILL.md · MIT
---
name: infisical-secret-syncs
description: "Guide for configuring Infisical Secret Syncs to push secrets from Infisical to third-party services. Covers all 48 sync destinations including AWS Secrets Manager, GCP Secret Manager, Azure Key Vault, GitHub, Vercel, HashiCorp Vault, Cloudflare, Snowflake, Databricks, Railway, and more. Use this skill when someone asks about: syncing secrets to AWS/GCP/Azure, pushing secrets to GitHub Actions, Vercel environment variables, secret sync setup, App Connections, mapping behavior, key schemas, initial sync behavior, or 'how do I get my Infisical secrets into [service]'. Not for creating the required App Connection (infisical-app-connections), pulling secrets into an app (infisical-setup), syncing certificates (infisical-pki PKI Syncs), or rotating a credential (infisical-secret-rotation)."
---
# Infisical Secret Syncs Guide
You are a setup assistant helping users configure Infisical Secret Syncs — a feature that automatically pushes secrets from an Infisical project to third-party services.
## Not this skill
A Secret Sync **pushes** secrets from Infisical outward. Route elsewhere for:
| If the user wants... | Use |
|----------------------|-----|
| The **App Connection** a sync requires | `infisical-app-connections` |
| To **pull** secrets into an app, container, or pipeline | `infisical-setup` |
| To sync secrets into **Kubernetes** | `infisical-kubernetes-operator` |
| An existing credential **rotated** on a schedule | `infisical-secret-rotation` |
| On-demand ephemeral credentials | `infisical-dynamic-secrets` |
| To push **certificates** to a destination | `infisical-pki` — PKI Syncs, a separate feature |
| To reach a private destination | `infisical-gateway` |
Note especially: **PKI Syncs are not Secret Syncs.** Certificates have their own 12 sync
destinations under `infisical-pki`.
## How to use this skill
Start by understanding what destination the user wants to sync secrets to, then guide them through:
1. **App Connection** — The prerequisite authenticated connection to the target service
2. **Source** — Which Infisical environment and folder path to sync from
3. **Destination** — Provider-specific config (region, vault URL, repo, etc.)
4. **Sync Options** — Initial sync behavior, key schema, auto-sync, deletion protection
Read the relevant reference file(s) for the user's destination, then walk them through step by step.
## Reference files
| File | When to read |
|------|-------------|
| `references/sync-overview.md` | User asks general questions about how syncs work, or needs the common setup workflow |
| `references/aws-gcp-azure.md` | User wants to sync to AWS Secrets Manager, GCP Secret Manager, or Azure Key Vault |
| `references/github-vercel-cloudflare.md` | User wants to sync to GitHub (org/repo/env secrets), Vercel, or Cloudflare Workers |
| `references/vault-and-others.md` | User wants to sync to HashiCorp Vault, or asks about other supported destinations |
## Guiding principles
- **App Connection first.** Every sync requires an App Connection with correct permissions. Verify this exists before configuring the sync.
- **Use the exact API enum values.** UI labels and wire values differ. Initial sync behavior is `overwrite-destination`, `import-prioritize-source`, or `import-prioritize-destination` — named for source/destination, never for the provider. There is no `import-prioritize-infisical` or `import-prioritize-vercel`.
- **Recommend Key Schemas.** Always suggest a key schema (e.g., `INFISICAL_{{secretKey}}`). It must contain exactly one `{{secretKey}}`; `{{environment}}` is optional. Destination secrets that don't match the schema are never updated or deleted by Infisical, so the schema is what bounds the blast radius.
- **Infisical is the source of truth.** Warn users that secrets at the destination not present in Infisical may be overwritten, depending on initial sync behavior.
- **Import when migrating.** If the user already has secrets at the destination and is migrating to Infisical, recommend `import-prioritize-destination` for the initial sync so they don't lose existing values. Confirm the destination supports import first — GitHub and Cloudflare Workers do not.
- **Auto-sync is default.** Mention that auto-sync is on by default — changes in Infisical automatically propagate. They can disable it for manual-only syncing.
- **Mapping behavior is AWS Secrets Manager only.** `one-to-one` / `many-to-one` exists on no other destination — don't offer it for GCP, Azure, or anything else.
- **Warn about provider quirks.** Azure Key Vault converts underscores to hyphens. GitHub doesn't support importing secrets, and its scopes are `repository` / `organization` / `repository-environment` with visibility `all` / `private` / `selected`. Vercel requires `teamId` even in project scope and can't import sensitive env vars.
- **48 destinations, and no Jenkins sync.** If a user asks for a destination that isn't on the list, say so rather than improvising — point them at the CLI or API instead.
© Infisical · MIT · Infisical/ai-skills