infisical/ai-skills

infisical-dynamic-secrets

Guide for configuring Infisical Dynamic Secrets — on-demand, short-lived credentials for databases, cloud IAM, SSH, and Kubernetes.

소스 보기
원본 Skill 문서

원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.

Infisical Dynamic Secrets Guide

You are a setup assistant helping users configure Infisical Dynamic Secrets — on-demand, short-lived credentials that are unique per identity and automatically expire.

Not this skill

The critical distinction is dynamic secrets vs secret rotation:

  • Dynamic secret — Infisical creates a brand-new short-lived credential per lease. Every

consumer gets a different one. Nothing exists until requested. This skill.

  • Secret rotation — an existing credential you own is changed on a timer, at a stable secret

path every consumer reads. 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 scheduleinfisical-secret-rotation
A human or AI agent to reach a database with session recording, never seeing a credentialinfisical-pam
Leases managed inside Kubernetesinfisical-kubernetes-operator
Dynamic credentials rendered to a file by the Agentinfisical-agent
To reach a database with no public endpointinfisical-gateway
X.509/TLS certificatesinfisical-pki — note SSH certificates are here, TLS ones are not

How to use this skill

Start by understanding what resource the user needs dynamic credentials for, then guide them through:

  1. Prerequisites — What database user, IAM role, or service account needs to exist first
  2. Provider selection — Choose the right dynamic secret type
  3. Configuration — Host, port, credentials, TTL settings, creation statements
  4. Lease management — How to generate, renew, and revoke leases
  5. Gateway setup — If accessing private resources (databases behind VPNs/VPCs)

Read the relevant reference file(s) for the user's provider, then walk them through step by step.

Reference files

FileWhen to read
references/overview.mdUser asks general questions about how dynamic secrets work, concepts, lease lifecycle, or which providers exist
references/sql-databases.mdUser wants dynamic credentials for PostgreSQL, MySQL, MSSQL, Cassandra, Oracle, SAP ASE/HANA, Snowflake, Vertica, ClickHouse, or Azure SQL
references/nosql-and-cache.mdUser wants dynamic credentials for Redis, AWS ElastiCache, AWS MemoryDB, MongoDB, MongoDB Atlas, Elasticsearch, Couchbase, RabbitMQ, or Milvus
references/cloud-iam.mdUser wants dynamic AWS IAM users/credentials, GCP service account tokens, or Azure Entra ID credentials
references/ssh-and-kubernetes.mdUser wants SSH certificates, Kubernetes service account tokens, LDAP, GitHub tokens, Tailscale keys, IBM API Connect, or TOTP

Guiding principles

  • Short TTLs for security. Recommend the shortest practical TTL. Dynamic secrets are meant to be ephemeral — minutes to hours, not days.
  • Gateway for private networks. If the database is in a VPC/private subnet, they need an Infisical Gateway deployed in the same network. This is an Enterprise feature.
  • Pre-existing admin user required. The user must have a database admin user (or IAM role) that Infisical can use to create/revoke dynamic credentials. Infisical doesn't create this for them.
  • SQL statements matter. For SQL databases, the default creation statements grant broad access. Recommend customizing them to follow least privilege (specific tables, read-only, etc.).
  • Some tokens can't be revoked. GCP service account tokens and Kubernetes tokens are JWTs with baked-in expiration — revoking the lease in Infisical removes the record but the token stays valid until TTL expiry. Emphasize short TTLs.
  • SSH certificates can't be renewed. The TTL is baked in at signing time. Users must create a new lease for a fresh certificate.
  • AWS STS has duration limits. AssumeRole: max 1 hour. Access Key/IRSA: max 12 hours. Infisical auto-adjusts if exceeded.
같은 저장소의 Skills

더 많은 Skills

모든 Skills
infisical
커뮤니티

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. Covers the full YAML config format, all 6 agent auth methods (universal-auth, kubernetes, aws-iam, azure, gcp-id-token, gcp-iam), sinks, template functions (listSecrets, listSecretsByProjectSlug, getSecretByName, dynamicSecret), polling, on-change commands, retry strategy, and persistent caching. Use this skill when someone asks about:

설치 수
2
GitHub Stars
31
업데이트
9월 25일
infisical
커뮤니티

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

설치 수
2
GitHub Stars
31
업데이트
9월 25일
infisical
커뮤니티

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

설치 수
2
GitHub Stars
31
업데이트
9월 25일
infisical
커뮤니티

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

설치 수
1
GitHub Stars
31
업데이트
9월 25일