Setup
Only organization admins can connect Infisical.
- In Infisical, create a Machine Identity with Universal Auth enabled
- Add the identity to your target project with read access to the desired environment
- Generate a Client ID and Client Secret for the identity
- Go to Environment settings in Replicas
- Select a scope: Global, a specific Repository, or a Repository Set
- Open the Variables tab, scroll to the Integrations section, and click Connect Infisical, then fill in:
- Client ID and Client Secret from your Machine Identity
- Project ID: found in your Infisical project settings
- Environment: the environment slug to pull secrets from (e.g.,
dev,staging,prod) - Secret Path: the folder path within the environment (defaults to
/) - Site URL: only needed for EU Cloud (
https://eu.infisical.com) or self-hosted instances (defaults to US Cloud)
- Click Save & Connect. Replicas validates the credentials before saving
How It Works
When a workspace is created, Replicas authenticates with Infisical using the stored Machine Identity credentials for each applicable scope, fetches all secrets, and injects them as environment variables into the workspace.Priority
Infisical secrets follow the same priority ordering as manual environment variables, but within each scope, manual variables always override Infisical secrets:- Global Infisical secrets (lowest)
- Global manual environment variables
- Repository-set Infisical secrets
- Repository-set manual environment variables
- Repository Infisical secrets
- Repository manual environment variables (highest)