Supabase
Auth Commands
Authentication & secrets
8 commands
Commands
Generate TypeScript types
$ supabase gen types typescript --local > types/supabase.ts
Generate TypeScript types from database schema
Generate types from remote
$ supabase gen types typescript --project-id <id> > types/supabase.ts
Generate TypeScript types from remote database
Login to Supabase
$ supabase login
Login to Supabase account
List organizations
$ supabase orgs list
List all organizations
List projects
$ supabase projects list
List all Supabase projects
List secrets
$ supabase secrets list
List all secrets for Edge Functions
Set secret
$ supabase secrets set <name>=<value>
Set a secret for Edge Functions
Unset secret
$ supabase secrets unset <name>
Remove a secret from Edge Functions