1
Webhooks which call Edge functions should be configured via config.toml
Source: supabase/supabase#42833 · opened by @mirko-venju
Here’s a structured and ready-to-post GitHub Feature Request: ⸻ 🚀 Feature Request: Config-Based Webhook Management for Edge Functions Summary Currently, database webhooks in Supabase must be created either: • Manually via Supabase Studio, or • Through SQL migration files This causes security and configuration management issues, especially when authentication tokens are required. I propose enabling webhook configuration via the config.toml file, similar to other Supabase resources, with automatic provisioning during GitHub Actions or local CLI deploys. ⸻ ❗ Current Problems 1. Token Exposure in Migration Files When creating webhooks through migrations, any required token (e.g. Bearer token) must be embedded in SQL. This introduces security risks: • Tokens are stored in version control. • Token rotation becomes difficult. • Secrets management becomes inconsistent. ⸻ 2. URL Cannot Be Managed via Environment Webhook URLs are hardcoded in …
No pledges yet. Be the first to back this.
Comments
Similar requests
Infrastructure as Code / config.toml for production
14 votes · 0 comments
Enhance GitHub Integration for Supabase to Support Full config.toml Configuration
2 votes · 0 comments
Enable Syncing of Vault and Edge Function Secrets
1 vote · 0 comments
Allow Customization of /migrations Directory in config.toml for Supabase Migrations and Shadow Database
7 votes · 0 comments
NestJS Support in Supabase Edge Functions
17 votes · 0 comments
No comments yet.