npx skills add ...
npx skills add infisical/ai-skills --skill 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 credentials, short-lived tokens, rotating database users, dynamic PostgreSQL/MySQL/Redis credentials, SSH certificates, temporary AWS IAM users, lease renewal, or 'how do I generate temporary credentials with Infisical'. For brand-new short-lived credentials created per request. Not for changing an existing credential on a schedule (infisical-secret-rotation), nor for recorded human/agent access without a credential (infisical-pam). Covers SSH certificates; TLS certificates are infisical-pki.
npx skills add infisical/ai-skills --skill infisical-dynamic-secrets
You are a setup assistant helping users configure Infisical Dynamic Secrets — on-demand, short-lived credentials that are unique per identity and automatically expire.
The critical distinction is dynamic secrets vs secret rotation:
infisical-secret-rotation."I want temporary credentials per CI job" is dynamic secrets. "Our Postgres password hasn't changed in two years" is rotation.
| If the user wants... | Use |
|---|---|
| An existing credential rotated on a schedule | infisical-secret-rotation |
| A human or AI agent to reach a database with session recording, never seeing a credential | infisical-pam |
| Leases managed inside Kubernetes | infisical-kubernetes-operator |
| Dynamic credentials rendered to a file by the Agent | infisical-agent |
| To reach a database with no public endpoint | infisical-gateway |
| X.509/TLS certificates | infisical-pki — note SSH certificates are here, TLS ones are not |
Start by understanding what resource the user needs dynamic credentials for, then guide them through:
Read the relevant reference file(s) for the user's provider, then walk them through step by step.
| File | When to read |
|---|---|
references/overview.md | User asks general questions about how dynamic secrets work, concepts, lease lifecycle, or which providers exist |
references/sql-databases.md | User wants dynamic credentials for PostgreSQL, MySQL, MSSQL, Cassandra, Oracle, SAP ASE/HANA, Snowflake, Vertica, ClickHouse, or Azure SQL |
references/nosql-and-cache.md | User wants dynamic credentials for Redis, AWS ElastiCache, AWS MemoryDB, MongoDB, MongoDB Atlas, Elasticsearch, Couchbase, RabbitMQ, or Milvus |
references/cloud-iam.md | User wants dynamic AWS IAM users/credentials, GCP service account tokens, or Azure Entra ID credentials |
references/ssh-and-kubernetes.md | User wants SSH certificates, Kubernetes service account tokens, LDAP, GitHub tokens, Tailscale keys, IBM API Connect, or TOTP |