Supabase
How to sync secrets from Infisical to Supabase
The Supabase integration is useful if your Supabase project uses sensitive-information such as environment variables in edge functions.
Synced envars can be accessed in edge functions using Deno’s built-in handler: Deno.env.get(MY_SECRET_NAME)
.
Prerequisites:
- Have an account and project set up at Supabase
- Set up and add envars to Infisical Cloud
Authorize Infisical for Supabase
Obtain a Supabase Access Token in your Supabase Account > Access Tokens.
Navigate to your project’s integrations tab in Infisical.
Press on the Supabase tile and input your Supabase Access Token to grant Infisical access to your Supabase 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 Supabase project. Lastly, press create integration to start syncing secrets to Supabase.
Was this page helpful?