Supabase Blog·· 2026-01-07精选AI 评分62
Supabase 回顾 2025 安全变更:旧版 anon 与 service_role 密钥 2026 年底移除
Supabase Security Retro: 2025
AI 导读
Supabase 发布 2025 安全回顾,列出已上线的安全变更与 2026 年计划。新 API key 模型用 publishable key 做低权限访问、多个可撤销的 secret key 做高权限访问,支持即时轮换与审计,旧版长期有效的 JWT anon 与 service_role 密钥在迁移期内仍可用,但将于 2026 年底移除。
推荐理由
旧版 anon 与 service_role 密钥将在 2026 年底移除,用旧密钥的项目要在此之前迁到 publishable 与 secret key。
来源:Supabase Blog · supabase.com