---
number: 18972
slug: 18972-edge-functions-secrets-should-now-get-updated-upon-resetting-db-password-or-jwt
published: 2023-11-15
discussion: https://github.com/orgs/supabase/discussions/18972
labels:
  - edge functions
page: https://supabase.com/changelog/18972-edge-functions-secrets-should-now-get-updated-upon-resetting-db-password-or-jwt
---

# Edge Functions secrets should now get updated upon resetting DB password or JWT secret

Edge Functions has some predefined secrets: `SUPABASE_DB_URL`, `SUPABASE_ANON_KEY`, `SUPABASE_SERVICE_ROLE_KEY`. Previously, if you reset your DB password or JWT secret, these secrets will become stale. Now, these changes should be propagated into Edge Functions secrets. This fixes https://github.com/supabase/supabase/issues/12415.

If you've previously had this issue, you can reset your DB password using the old value to avoid downtime for your app. If you're resetting the JWT secret, you need to update your app to use the new API keys, which incurs some downtime.
