
Infisical Has a Free API That Manages Your Secrets Better Than .env Files
Infisical is the open-source secret management platform. Store API keys, database credentials, and tokens securely — then inject them into any app or CI/CD pipeline via API. What Is Infisical? Infisical replaces .env files with a centralized, encrypted secrets vault. Version history, access control, secret rotation — all built in. Quick Start npm install @infisical/sdk import { InfisicalClient } from ' @infisical/sdk ' const client = new InfisicalClient ({ clientId : process . env . INFISICAL_CLIENT_ID ! , clientSecret : process . env . INFISICAL_CLIENT_SECRET ! , }) // Get a secret const secret = await client . getSecret ({ environment : ' production ' , projectId : ' proj-123 ' , secretName : ' DATABASE_URL ' , }) console . log ( secret . secretValue ) // postgresql://... REST API export INFISICAL_TOKEN = "your-service-token" # List secrets in an environment curl -s 'https://app.infisical.com/api/v3/secrets/raw?environment=production&workspaceId=proj-123' \ -H "Authorization: Bearer
Continue reading on Dev.to DevOps
Opens in a new tab

