Laravel Forge
How to sync secrets from Infisical to Laravel Forge
Prerequisites:
- Set up and add envars to Infisical Cloud
Authorize Infisical for Laravel Forge
Obtain a Laravel Forge access token in API Tokens
Obtain your Laravel Forge Server ID in Servers > Server ID
Navigate to your project’s integrations tab in Infisical.
Press on the Laravel Forge tile and input your Laravel Forge access token and server ID to grant Infisical access to your Laravel Forge account.
If this is your project’s first cloud integration, then you’ll have to grant Infisical access to your project’s environment variables. Although this step breaks E2EE, it’s necessary for Infisical to sync the environment variables to the cloud platform.
Start integration
Select which Infisical environment secrets you want to sync to which Laravel Forge site and press create integration to start syncing secrets to Laravel Forge.