Skip to main content
Prerequisites:
1

Add Sync

Navigate to Project > Integrations and select the Secret Syncs tab. Click on the Add Sync button.Secret Syncs Tab
2

Select 'Trigger.dev'

Select the Trigger.dev option from the list of available secret syncs.Select Trigger.dev
3

Configure source

Configure the Source from where secrets should be retrieved, then click Next.Configure Source
  • Environment: The project environment to retrieve secrets from.
  • Secret Path: The folder path to retrieve secrets from.
If you need to sync secrets from multiple folder locations, check out secret imports.
4

Configure destination

Configure the Destination to where secrets should be deployed, then click Next.Configure Destination
  • Trigger.dev Connection: The Trigger.dev Connection to authenticate with.
  • Project: The Trigger.dev project to sync secrets to, selected from the dropdown of projects available to the connection.
  • Environment: The Trigger.dev environment to sync secrets to (one of Production, Staging, Development, or Preview).
5

Configure initial sync behavior

Configure the Initial Sync Behavior to determine how Infisical should resolve the first sync, then click Next.
Trigger.dev does not support importing secrets because it redacts secret values when they are read back. Only the overwrite behavior is available.
Configure Initial Sync Behavior
6

Configure sync options

Configure the Sync Options to specify how secrets should be synced, then click Next.Configure Options
  • Disable Secret Deletion: If enabled, Infisical will not remove secrets from the sync destination. Enable this option if you intend to manage some secrets manually outside of Infisical.
  • Auto-Sync Enabled: If enabled, secrets will automatically be synced from the source location when changes occur. Disable to enforce manual syncing only.
  • Key Schema: Template that determines how secret names are transformed when syncing, using {{secretKey}} as a placeholder for the original secret name and {{environment}} for the environment.
We highly recommend using a Key Schema to ensure that Infisical only manages the specific keys you intend, keeping everything else untouched.
  • Mark Variables as Secret: If enabled, synced variables are marked as secret (redacted) environment variables in Trigger.dev.
7

Configure details

Configure the Details of your Trigger.dev Sync, then click Next.Configure Details
  • Name: The name of your sync. Must be slug-friendly.
  • Description: An optional description for your sync.
8

Review configuration

Review your Trigger.dev Sync configuration, then click Create Sync.Confirm ConfigurationA confirmation dialog will appear reminding you that Infisical is the source of truth for the destination. Click I Understand to proceed.Confirm Sync Behavior
9

Sync created

If enabled, your Trigger.dev Sync will begin syncing your secrets to the destination endpoint.Sync Secrets