Skip to content

InfisicalSecretScope

Defined in: secrets/secrets.ts:24

Where a secret lives: a workspace, an environment and a folder path.

environment: string

Defined in: secrets/secrets.ts:28

The slug of the environment, such as dev or prod.


optional secretPath?: string

Defined in: secrets/secrets.ts:30

The folder path inside the environment; left out, / is used.


workspaceId: string

Defined in: secrets/secrets.ts:26

The id of the workspace (project) that holds the secret.