Loading...
Loading...
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 dual-phase vs single-phase rotation models, rotation intervals and rotateAtUtc scheduling, parameters and secretsMapping, and the two-user pattern for SQL databases. Use this skill when someone asks about: secret rotation, rotating credentials, automatic credential rotation, rotating a database password on a schedule, expiring API keys, rotationInterval, or 'how do I rotate my database password automatically'. For changing an EXISTING credential on a timer. Not for creating brand-new ephemeral credentials per request (infisical-dynamic-secrets), nor for App Connection credential rotation (infisical-app-connections).
npx skill4agent add infisical/ai-skills infisical-secret-rotation| If the user wants... | Use |
|---|---|
| A new, ephemeral credential minted per request, auto-revoked at lease expiry | |
| An existing, long-lived credential replaced on a schedule, staying at a stable secret path | this skill |
| To push Infisical secrets out to a third-party service | |
| To create the App Connection a rotation depends on | |
| Rotating a privileged/human account with session recording and checkout | |
rotationIntervalrotateAtUtc| File | When to read |
|---|---|
| How rotation works, dual-phase vs single-phase, scheduling, the full provider list, API shape |
| PostgreSQL, MySQL, MSSQL, OracleDB, MongoDB, Redis — including the mandatory two-user pattern |
| AWS IAM, Azure, Okta, Auth0, Cloudflare, Datadog, Snowflake, Databricks, Supabase, LLM provider keys |
| LDAP passwords, Unix/Linux local accounts, Windows local accounts, HP iLO — all single-phase |
postgresinfisical-app-connectionsusername1username2rotationIntervalexecute.command