From infisical-api
Guides interaction with Infisical REST API for secret CRUD, project/environment management, machine identity authentication, pagination, and rate limits on cloud deployments.
How this skill is triggered — by the user, by Claude, or both
Slash command
/infisical-api:infisical-apiThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill provides guidance for working with the Infisical REST API. Use it when you need to:
This skill provides guidance for working with the Infisical REST API. Use it when you need to:
curl -X POST https://us.infisical.com/api/v1/auth/universal-auth/login \
-H "Content-Type: application/json" \
-d '{
"clientId": "YOUR_CLIENT_ID",
"clientSecret": "YOUR_CLIENT_SECRET"
}'
Response:
{
"accessToken": "eyJ...",
"expiresIn": 3600,
"accessTokenMaxTTL": 86400,
"tokenType": "Bearer"
}
curl -X GET 'https://us.infisical.com/api/v4/secrets?projectId=PROJECT_ID&environment=dev' \
-H "Authorization: Bearer eyJ..."
curl -X GET 'https://us.infisical.com/api/v4/secrets?projectId=PROJECT_ID&environment=dev&offset=0&limit=20' \
-H "Authorization: Bearer TOKEN"
curl -X POST 'https://us.infisical.com/api/v4/secrets/MY_SECRET' \
-H "Authorization: Bearer TOKEN" \
-H "Content-Type: application/json" \
-d '{
"projectId": "PROJECT_ID",
"environment": "dev",
"secretPath": "/",
"secretValue": "super-secret-value",
"type": "shared"
}'
curl -X GET 'https://us.infisical.com/api/v4/secrets/MY_SECRET?projectId=PROJECT_ID&environment=dev&secretPath=/' \
-H "Authorization: Bearer TOKEN"
curl -X PATCH 'https://us.infisical.com/api/v4/secrets/MY_SECRET' \
-H "Authorization: Bearer TOKEN" \
-H "Content-Type: application/json" \
-d '{
"projectId": "PROJECT_ID",
"environment": "dev",
"secretPath": "/",
"secretValue": "new-value"
}'
curl -X DELETE 'https://us.infisical.com/api/v4/secrets/MY_SECRET?projectId=PROJECT_ID&environment=dev&secretPath=/' \
-H "Authorization: Bearer TOKEN"
Content-Type: application/json headerexpiresIn seconds; implement refresh logic for long-running operationsus.infisical.com with your custom domainviewSecretValue=true when listing secrets if you need to see actual valuesrecursive parameter on list secrets endpoint includes secrets in all subdirectoriesnpx claudepluginhub infisical/ai-skills --plugin infisical-apiGuides Infisical secret integration into local CLI dev, Docker (build/runtime), CI/CD (GitHub Actions, GitLab CI), Kubernetes Operator, and app SDKs (Node.js, Python, Go, Java, .NET, Ruby). Covers machine identity auth setup.
Scans projects for exposed secrets, recommends management providers, sets up secret storage and injection into CI/CD/deployments, audits configurations for infrastructure.
Guides configuration of Infisical Agent for token lifecycle management, secret rendering via Go templates, and auth methods including Kubernetes, AWS IAM, Azure, GCP. Covers YAML configs, sinks, polling, caching, and deployments.