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:

1

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.

2

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?