Replicas integrates with Infisical to sync secrets from your Infisical projects directly into workspace environment variables. Connections are configured per environment, so you can connect different Infisical projects or environments to your Global environment and to any named environment.Documentation Index
Fetch the complete documentation index at: https://docs.replicas.dev/llms.txt
Use this file to discover all available pages before exploring further.
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
- Pick the environment you want to connect (Global or any named environment)
- 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 the workspace’s environment (and Global, if configured), 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 environment, manual variables always override Infisical secrets:- Global Infisical secrets (lowest)
- Global manual environment variables
- Target environment Infisical secrets
- Target environment manual environment variables (highest)
Test Sync
After connecting, use the Test Sync button to verify that Replicas can reach your Infisical project and see which secret keys are available. Secret values are never displayed; only the key names are shown.Reconfiguring
Click Reconfigure to update the Machine Identity credentials, change the project/environment, or switch the secret path. The new credentials are validated before saving.Copying or Moving Between Environments
Once an Infisical connection is configured in any environment, admins can copy or move it to another environment without re-entering credentials. From the connected environment, open the Copy to or Move to menu next to the connection to choose a target environment.- Copy to duplicates the connection to the target environment. Both environments end up with the same Machine Identity, project, environment, and secret path. The source environment keeps its connection.
- Move to copies to the target and then removes the connection from the source environment.