Accepts a InfisicalConfig or plain options.
ReadonlyconfigThe immutable configuration.
ReadonlyfoldersFolders: list/create/update/delete.
ReadonlyimportsSecret imports.
ReadonlyprojectsProjects and environments.
ReadonlyproviderThe SPEC §3 SecretsProvider for the configured project/environment/path.
ReadonlysecretsSecrets: list/get/create/update/delete, batch, versions, loadEnv, exportDotenv.
ReadonlytagsTags.
The active auth method (undefined when no credentials are configured).
The secrets API version in use: v4, v3 or unknown before the first secrets call.
Stops watchers, revokes a login token when revokeOnClose is set and releases connections.
Idempotent.
Unauthenticated liveness: GET /api/status. Never throws for an unhealthy or unreachable
service (only CANCELLED and CONFIG).
Authenticated round trip; returns the latency in milliseconds. The route depends on the token
kind: identity GET /api/v1/identities/details, user GET /api/v2/users/me, service token
GET /api/v2/service-token. AuthenticationError on bad credentials.
A SecretsProvider for another project, environment or base path. It is stopped by
close like provider.
Always UnsupportedError: Infisical exposes no running version over HTTP.
StaticfromBuilds a client from GROW_INFISICAL_* (and INFISICAL_*) environment variables.
Client for Infisical. Service modules:
secrets,folders,projects,tags,imports.