supabase / cli

Supabase CLI. Manage postgres migrations, run Supabase locally, deploy edge functions. Postgres backups. Generating types from your database schema.
https://supabase.com/docs/reference/cli/about
MIT License
1.09k stars 212 forks source link

[Feature] Unset all secrets command #1235

Closed bombillazo closed 5 months ago

bombillazo commented 1 year ago

Is your feature request related to a problem? Please describe.

Deleting secrets one by one can be tedious, especially if we autogenerate secrets or add multiple/change names of various secrets.

Describe the solution you'd like

Add a flag to the unset command to delete all secrets so we can re-source them all from our .env file

Describe alternatives you've considered

Creating a script that reads the list of existing secrets and loop through each to delete each one. (Not fun)

CareTiger commented 1 year ago

reopening as a much wanted feature request

bombillazo commented 10 months ago

Any update on this?

sweatybridge commented 5 months ago

This is now available in cli beta. Stable will be updated next Tuesday.

npx supabase@beta secrets unset