Supabase Get Keys
supabase_get_keysRetrieves a Supabase project's URL and anon key for app or backend wiring, while saving the service_role key to a local 0600 file and never returning it.
Instructions
Get a Supabase project's URL and anon key; the service_role key is saved to ~/.appfactory/supabase/.json (0600) and never returned.
Use when: wiring the app (app_inject_config) or backend. Returns: {ok, project_url, anon_key, service_role_key_file}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Supabase project ref (20-char id from supabase_list_projects, e.g. 'abcdefghijklmnopqrst'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||