Infisical icon

Infisical

Manage secrets and related resources in Infisical

Actions40

Environment → Get

AI-generated

Summary

Get an environment

Inputs

  • projectId (required) — The project to operate on
  • environmentId (required) — The ID of the environment
  • requestOptions — Advanced request configuration options
  • allowUnauthorizedCerts — Whether to accept the response even if SSL certificate validation is not possible
  • proxy — HTTP proxy to use, e.g., http://username:password@myproxy:3128
  • timeout — Timeout in milliseconds for the request

Output shape

a single environment object

Returns environment details such as name and slug on success; no pagination; errors are propagated as n8n errors.

Examples

Example 1: Retrieve an environment by ID

Set projectId to the target project, set environmentId to the environment's ID, optionally adjust timeout, then execute.

Example 2: Retrieve an environment via project list

Select the desired project from the Project dropdown, optionally filter environments, then execute to get the environment.

Example 3: Use custom request options

Add custom headers, proxy, or adjust timeout via the Request Options collection before executing.

Links

Discussion