What problem does it solve?
Keeping agent credentials consistent across a fleet is error-prone when secrets live in scattered local stores. This Skill provides the expert knowledge to authenticate with a self-hosted Infisical instance via Universal Auth, pull secrets into a local encrypted vault on a schedule, and push new secrets back so Infisical remains the single source of truth.
Core Features & Use Cases
- Scheduled Secret Pull: Authenticate with a Machine Identity, fetch secrets from the Infisical v4 API per project and environment, and write changed values into the local vault using hash-based change detection.
- Push and Delete Operations: Create-or-update secrets in Infisical using the POST-then-PATCH pattern, and remove secrets from both Infisical and the local vault after confirmation.
- State Tracking and Metrics: Persist sync state in a JSON file, record secret metadata in a knowledge graph, and publish dashboard metrics such as secrets synced, last sync time, and error counts.
- Use Case: An autonomous agent wakes every 15 minutes, obtains a fresh access token, pulls the production environment secrets from Infisical, updates only changed vault entries, and reports sync status to the dashboard without ever logging secret values.
Quick Start
Ask the agent to sync secrets from your Infisical instance into the local vault after setting the INFISICAL_URL, INFISICAL_CLIENT_ID, and INFISICAL_CLIENT_SECRET environment variables.