Infisical Client
@theholocron/infisical-client is a typed wrapper around the Infisical API for managing secrets and workspaces.
Installation
Section titled “Installation”pnpm add @theholocron/infisical-clientimport { createInfisicalClient } from "@theholocron/infisical-client";
const client = createInfisicalClient({ token: process.env.INFISICAL_TOKEN });
const secrets = await client.secrets.list({ workspaceId: "ws-123", environment: "production",});
const workspaces = await client.workspaces.list();Namespaces
Section titled “Namespaces”| Namespace | Covers |
|---|---|
secrets |
Secrets in a workspace environment |
workspaces |
Workspaces (projects) and their environments |
The full API reference is generated from the package’s TSDoc comments.