Managed secret providers
Supabase
Connect Supabase to Alter Vault for secure API access
Overview
Section titled “Overview”Use Supabase credentials to make authenticated API calls through Alter Vault without exposing API keys in code.
| Property | Value |
|---|---|
| Provider ID | supabase |
| Category | Developer Tools |
| Credential Type | Bearer Token |
Step 1: Get Credentials
Section titled “Step 1: Get Credentials”Log in to the Supabase Dashboard
Log in to the Supabase Dashboard at supabase.com/dashboard.
Select your project
Select your project.
Go to Settings → API
Go to Settings → API.
Copy your API key
Copy the ‘anon’ key (safe for client-side) or ‘service_role’ key (server-side only, bypasses RLS).
Copy the Project URL
Copy the Project URL (e.g. your-project.supabase.co) for the Project URL field.
Step 2: Add to Alter Vault
Section titled “Step 2: Add to Alter Vault”Open the Developer Portal
Go to portal.alterauth.com and navigate to the application.
Add Supabase
Go to Managed Secrets > Add Provider > Supabase.
Enter credentials
Paste your API Key and Project URL into their respective fields.
Save
Click Save. You’ll receive a grant_id to use with the SDK.
Using in Code
Section titled “Using in Code”response = await alter_app.request( HttpMethod.GET, "https://your-project.supabase.co/rest/v1/your_table", grant_id="YOUR_GRANT_ID",)