Skip to content
Français

InfisicalSecretSourceOptions

import type { InfisicalSecretSourceOptions } from "@elie-laloum/outpost/secrets/infisical";
  • clientRequired
    { secrets(): { getSecret(options: GetSecretOptions): Promise<Pick<Secret, "secretValue" | "secretValueHidden">>; }; }
    Caller-authenticated host client exposing secrets().getSecret(), such as InfisicalSDK for cloud or self-hosted instances. The caller selects its site URL and authentication, owns renewal and retains client ownership.
  • projectIdRequired
    string
    Explicit Infisical project identifier applied to every selected-name read.
  • environmentRequired
    string
    Nonempty Infisical environment slug, such as dev or prod, applied to each selected-name read.
  • pathOptional
    string | undefined
    Absolute Infisical folder path without traversal, default /. Imports and reference expansion stay disabled independently of this path.
import type { GetSecretOptions, Secret } from "@infisical/sdk";

export interface InfisicalSecretSourceOptions {
  readonly client: {
    secrets(): {
      getSecret(
        options: GetSecretOptions,
      ): Promise<Pick<Secret, "secretValue" | "secretValueHidden">>;
    };
  };
  readonly projectId: string;
  readonly environment: string;
  readonly path?: string;
}