Infisical icon

Infisical

Manage secrets and related resources in Infisical

Actions40

Dynamic Secret → Get

AI-generated

Summary

Retrieves a single Infisical dynamic secret configuration by name, scoped to a project and environment. Sends GET /api/v1/dynamic-secrets/{name} and returns the dynamicSecret object from the response.

Inputs

  • Name (required) — Name of the dynamic secret. URL-encoded into the request path.
  • Project Slug (required) — Slug of the project (from project settings/URL). Sent as the projectSlug query parameter.
  • Environment Slug (required) — Slug of the environment, e.g. dev, staging, prod. Sent as the environmentSlug query parameter.
  • Request Options — Node-level settings: batching (items per batch, interval in ms), ignore SSL issues, HTTP proxy, and request timeout (default 10000 ms).

Output shape

A single record: the dynamicSecret object extracted from the API response (the configuration of the named dynamic secret).

Only the root dynamicSecret property is returned; other response fields are dropped. No secret path parameter is exposed, so the lookup uses only name, project slug and environment slug. If the secret does not exist, the API error is raised by the node.

Examples

Example 1: Inspect a database dynamic secret's configuration before generating leases

Name: postgres-readonly, Project Slug: my-project-abc123, Environment Slug: prod

Example 2: Look up a dynamic secret per incoming item using an expression

Name: {{ $json.secretName }}, Project Slug: my-project-abc123, Environment Slug: dev

Links

Discussion