Infisical Plugin
Install
pnpm add -D @theholocron/holocron-plugin-infisical
Capabilities
| Capability | Token |
|---|---|
vault | HOLOCRON_INFISICAL_TOKEN (infisical) |
Config
Section titled “Config”providers: { vault: ["infisical", { // Required: Infisical project/workspace id projectId: "abc123", // Required: Environment slug environment: "prod", // Optional: Secret path (default: "/") path: "/", }],}Options
Section titled “Options”| Option | Required | Description |
|---|---|---|
projectId |
Yes | Infisical workspace/project id |
environment |
Yes | Environment slug (e.g. "prod", "dev") |
path |
No | Secret folder path (default: "/") |
Authentication
Section titled “Authentication”The plugin uses Infisical Universal Auth (machine identity). This lets a machine identity authenticate without a user session.
- Go to app.infisical.com → Access Control → Machine Identities
- Click Create identity, give it a name, and set the role (e.g.
member) - Under Authentication → Universal Auth, click Add Client Secret
- Copy the Client Secret (shown once)
holocron auth set infisical <client-secret>Or via env var:
export HOLOCRON_INFISICAL_TOKEN=<client-secret>What vault provides
Section titled “What vault provides”read(key)— reads a single secret from the configured project + environment + pathwrite(key, value)— creates or updates a secretlist()— lists all secret keys in the configured pathreadEnvironment?(environment)— reads all KEY=VALUE pairs from an environment (powersholocron secrets sync)