infisical/ai-skills

infisical-agent

Guide for configuring the Infisical Agent — a client daemon that manages token lifecycle and renders secrets via Go templates without modifying application code.

Quelltext ansehen
Originales Skill-Dokument

Aus dem Quell-Repository gerendert; Überschriften, Beispiele, Code, Tabellen, Links und Bilder bleiben erhalten.

Infisical Agent Guide

You are a setup assistant helping users configure the Infisical Agent — a client daemon that simplifies secret management by automatically authenticating, renewing tokens, and rendering secrets to files via Go templates.

Not this skill

The Agent writes secrets to files on a host or in a container. Route elsewhere for:

If the user wants...Use
Kubernetes Secrets or ConfigMaps managed by a controllerinfisical-kubernetes-operator
infisical run wrapping a processinfisical-setup
An SDK call from application codeinfisical-setup
To configure the machine identity the agent authenticates withinfisical-setup
To push secrets to a third-party serviceinfisical-secret-syncs
To configure the dynamic secret the agent leasesinfisical-dynamic-secrets

Operator vs Agent, stated plainly: the operator manages Kubernetes API objects cluster-wide; the agent writes files next to your app. If the app reads env vars from a Secret, use the operator. If it reads a config file, use the agent.

How to use this skill

Start by understanding the user's deployment context, then guide them through:

  1. Auth method — Which authentication method fits their platform
  2. Config file — The YAML config structure with auth, sinks, and templates
  3. Templates — Go template syntax with the correct template functions
  4. Deployment — Running the agent in their environment (Docker, K8s, ECS, etc.)

Read the relevant reference file(s), then walk them through building their config file step by step.

Reference files

FileWhen to read
references/agent-config.mdUser needs the full config file format, field reference, auth methods, sinks, or caching
references/template-functions.mdUser needs to write templates — all available functions with signatures, parameters, and examples
references/deployment-examples.mdUser needs example configs for specific platforms (Docker Compose, ECS, Kubernetes, basic)

Guiding principles

  • Platform-native auth first. On AWS, recommend aws-iam. On Kubernetes, recommend kubernetes. On Azure, recommend azure. Only fall back to universal-auth (client ID/secret) when platform-native auth isn't available.
  • Templates over sinks for secrets. Sinks deposit access tokens. Templates render actual secrets. Most users want templates, not raw access tokens.
  • Use `listSecrets` or `listSecretsByProjectSlug` for .env files. These are the most common template functions — they render all secrets in an environment to a key=value file.
  • Use `dynamicSecret` for database credentials. This function creates and auto-renews dynamic secret leases directly in templates.
  • SSH dynamic secrets need the 6th `principals` argument. dynamicSecret takes an optional trailing comma-separated principals string, and it is required for SSH dynamic secrets (e.g. "root,deploy"). SSH leases return PRIVATE_KEY and SIGNED_KEY.
  • Polling interval matters. Default is 5 minutes. For latency-sensitive apps, reduce it. For stable configs, increase it to reduce API calls.
  • `exit-after-auth: true` for init containers. In Kubernetes init containers or one-shot setups, set this so the agent renders secrets once and exits.
  • On-change commands for reloads. Use execute.command to trigger application restarts or config reloads when secrets change.
  • Never log secret values. The agent writes to files — ensure the destination paths have correct permissions and aren't exposed.
aus demselben Repository

Weitere Skills

Alle Skills
infisical
Community

infisical-dynamic-secrets

Guide for configuring Infisical Dynamic Secrets — on-demand, short-lived credentials for databases, cloud IAM, SSH, and Kubernetes. Covers all 30 providers including PostgreSQL, MySQL, MSSQL, Oracle, Redis, AWS ElastiCache, AWS MemoryDB, MongoDB, Elasticsearch, Couchbase, Milvus, AWS IAM, GCP IAM, Azure Entra ID, SSH certificates, Kubernetes service accounts, LDAP, GitHub, Tailscale, IBM API Connect, and TOTP. Use this skill when someone asks about: dynamic secrets, ephemeral database credential

Installationen
2
GitHub Stars
31
Aktualisiert
25. Sept.
infisical
Community

infisical-secret-syncs

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, initia

Installationen
2
GitHub Stars
31
Aktualisiert
25. Sept.
infisical
Community

infisical-self-host

Deploy and operate Infisical self-hosted instances with Docker, Docker Compose, and Kubernetes. Covers architecture, environment variables, ENCRYPTIONKEY management, PostgreSQL setup, Redis configuration (including the required noeviction policy), production hardening, FIPS 140-3 compliance, scaling, and high availability patterns. For deploying the Infisical platform itself. Not for the Kubernetes Operator, which is a separate Helm chart (infisical-kubernetes-operator), nor for using Infisical

Installationen
2
GitHub Stars
31
Aktualisiert
25. Sept.
infisical
Community

infisical-secret-rotation

Guide for configuring Infisical Secret Rotation — automatically rotating credentials that already exist in a third-party system on a fixed interval, writing the new values back into Infisical secrets. Covers all 28 rotation providers (PostgreSQL, MySQL, MSSQL, OracleDB, MongoDB, Redis, AWS IAM user secrets, Azure/Okta/Auth0 client secrets, LDAP passwords, Unix/Linux and Windows local accounts, Cloudflare, Datadog, Snowflake key pairs, OpenAI/OpenRouter/LiteLLM/Fireworks API keys, and more), the

Installationen
1
GitHub Stars
31
Aktualisiert
25. Sept.